Closed
Description
Bug report
Bug summary
- Using pcolormesh with logarithmic color scale and minor ticks enabled results in a cluttered-looking set of minor ticks, apparently because the linear ticks are not removed, just overplotted with the log scale ones.
Code for reproduction
import numpy
from matplotlib.colors import LogNorm
from matplotlib.pyplot import pcolormesh, colorbar, rcParams
rcParams['xtick.minor.visible']=True
rcParams['ytick.minor.visible']=True
data=numpy.random.random((10,12))*100.0+0.1
pcolormesh(data,norm=LogNorm())
colorbar()
Expected outcome
- Expect that the colobar minor ticks would appear logarithmically.
Version Info
Platform: GNU/Linux 2.6.32-642.11.1.el6.x86_64
Python: 2.7.13 |Anaconda custom (64-bit)
IPython: 5.2.2
Matplotib: 2.0.0
All python components installed via Anaconda.