Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Setting categorical units on an axis that is shared across subplots updates the units on its siblings, but not the order of the units.
Code for reproduction
f, axs = plt.subplots(1, 2, sharex=True) axs[0].xaxis.update_units(["a", "c", "b"]) axs[1].plot(["a", "b", "c"], [1, 2, 3])
Actual outcome
Expected outcome
Compare to:
f, axs = plt.subplots(1, 2, sharex=True) axs[0].xaxis.update_units(["a", "c", "b"]) axs[0].plot(["a", "b", "c"], [1, 2, 3])
Matplotlib version
print(matplotlib.get_backend())
The text was updated successfully, but these errors were encountered:
I think this has been resolved, since the issue is no longer reproducible on master branch. Although, it is still reproducible for matplotlib==3.3.0
master
matplotlib==3.3.0
Sorry, something went wrong.
Yes, this was fixed by #18308.
No branches or pull requests
Bug report
Setting categorical units on an axis that is shared across subplots updates the units on its siblings, but not the order of the units.
Code for reproduction
Actual outcome
Expected outcome
Compare to:
Matplotlib version
print(matplotlib.get_backend())
): pylab inlineThe text was updated successfully, but these errors were encountered: