You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to narrow down where this happend in the code but havent found (yet), I'm not really familiar with matplotlib codebase. (searching to understand lib/axes.py and lib/axis.pyfor now)
If I find the problem and write a fix I'll do a PR. can I/should I introduce in the same pr a new rcParam axes.grid.which which can take the value 'both|major|minor' ?
Sorry if the vocabulary is not exact, I hope I made myself understandable.
With grid(True)
with Rcparams
The text was updated successfully, but these errors were encountered:
Hi,
To follow a question on list, I think there is a inconsistency in the rcParameters
axes.grid
.In short,
rcparam['axes.grid']=True
draw grid onwhich='both'
,whereas
ax.grid(True)
Draw grid only onwhich='major'
.This was probably not seen before, because by default graph have
NullLocator
for'minor'
, but this affect default loglog graph for example.Cf example below and full code on nbviewer:
http://nbviewer.ipython.org/5690246
I tried to narrow down where this happend in the code but havent found (yet), I'm not really familiar with matplotlib codebase. (searching to understand
lib/axes.py
andlib/axis.py
for now)If I find the problem and write a fix I'll do a PR. can I/should I introduce in the same pr a new rcParam
axes.grid.which
which can take the value 'both|major|minor' ?Sorry if the vocabulary is not exact, I hope I made myself understandable.
With grid(True)
with Rcparams
The text was updated successfully, but these errors were encountered: