Setting clog=True in plots_2d.hist2D() and then making a colorbar for the plot using axis_func.colorbar() results in labels being displayed on top of each other on the otherwise empty size of the colorbar.
The following example works as expected:
import numpy as npimport splotch as spx=np.random.normal(0,1,1000)x=np.random.normal(0,1,1000)sp.hist2D(x,y,clog=False)sp.colorbar(height=1)
Setting
clog=True
inplots_2d.hist2D()
and then making a colorbar for the plot usingaxis_func.colorbar()
results in labels being displayed on top of each other on the otherwise empty size of the colorbar.The following example works as expected:
import numpy as np
import splotch as sp
x=np.random.normal(0,1,1000)
x=np.random.normal(0,1,1000)
sp.hist2D(x,y,clog=False)
sp.colorbar(height=1)
This example displays the issue:
x=np.random.normal(0,1,1000)
x=np.random.normal(0,1,1000)
sp.hist2D(x,y,clog=True)
sp.colorbar(height=1)