We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
set_xmargin
set_xscale
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As of 2.0b4, the order in which calls to set(xmargin=...) and set(xscale=...) are made result in different plots:
set(xmargin=...)
set(xscale=...)
from matplotlib import pyplot as plt fig, axs = plt.subplots(2) axs[0].plot([1, 2], [1, 2]) axs[1].plot([1, 2], [1, 2]) axs[0].set(xscale="log"); axs[0].set(xmargin=0) axs[1].set(xmargin=0); axs[1].set(xscale="log") plt.show()
The ordering did not matter in 1.5, but that was because the setting of xmargin was effectively ignored :-)
xmargin
I'm suggesting to milestone this to 2.0, but I'll let someone else make that call.
The text was updated successfully, but these errors were encountered:
The minor ticks are also missing in the 2.0 example.
Sorry, something went wrong.
That's because the axis span from 1 to 2, so there's no place for minor ticks.
Sounds like this could be related to #6968
This is connected to #7413.
Successfully merging a pull request may close this issue.
As of 2.0b4, the order in which calls to
set(xmargin=...)
andset(xscale=...)
are made result in different plots:The ordering did not matter in 1.5, but that was because the setting of

xmargin
was effectively ignored :-)I'm suggesting to milestone this to 2.0, but I'll let someone else make that call.
The text was updated successfully, but these errors were encountered: