Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.1k
Closed
Description
Bug summary
Instead of inverting the yaxis,invert_yaxis actually has the same effect asinvert_xaxis:
The demo code is derived from the demohere.
Code for reproduction
importmatplotlibfrommpl_toolkits.mplot3dimportAxes3Dimportmatplotlib.pyplotaspltfig=plt.figure(figsize=(9,3.5),dpi=80)ax1=fig.add_subplot(141,projection='3d')ax2=fig.add_subplot(142,projection='3d')ax3=fig.add_subplot(143,projection='3d')ax4=fig.add_subplot(144,projection='3d')fig.suptitle(f"matplotlib v{matplotlib.__version__}")ax1.plot([1,1,10,10], [1,10,10,10], [1,1,1,10],marker="o")ax2.plot([1,1,10,10], [1,10,10,10], [1,1,1,10],marker="o")ax3.plot([1,1,10,10], [1,10,10,10], [1,1,1,10],marker="o")ax4.plot([1,1,10,10], [1,10,10,10], [1,1,1,10],marker="o")ax2.invert_xaxis()ax3.invert_yaxis()ax4.invert_zaxis()plt.show()
Actual outcome
Expected outcome
Additional information
This was worked on here, but apparently did not fix my issue, or am I missing something?
0e41317
#14579
Matplotlib Version
3.5.0
Installation
conda
Metadata
Metadata
Assignees
Labels
No labels

