| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This is admittedly more of a band-aid than a proper fix, but at least make the generated figure correct. The underlying problem is the more fundemental one of inconsistent units behavior in which some artists can be re-united after plotting (e.g. Line2D), while many others (e.g. Collections) cannot. Thus, until that is addressed (which is one of the goals of the data-prototype work), simply setting units early is as good as we can do. Closes matplotlib#5051
|
Current version (the dataset changed from 3.6 to 3.7 here, but the units misbehavior was retained): https://matplotlib.org/3.7.0/gallery/units/bar_unit_demo.html Note that the values are set in cm, but the units are supposed to be "inches", but the plotted values are the same as the cm values. |
Sorry, something went wrong.
|
I'm 95% sure unit re-setting is possible only for Line2D, and was never implemented for anything else. |
Sorry, something went wrong.
…of cm but labeled as inches
…of cm but labeled as inches
…518-on-v3.7.1-doc Backport PR #25518 on branch v3.7.1-doc (DOC: Fix the bars having numeric value of cm but labeled as inches)
…518-on-v3.7.x Backport PR #25518 on branch v3.7.x (DOC: Fix the bars having numeric value of cm but labeled as inches)
|
closed a 4-digit issue. Yeah! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This is admittedly more of a band-aid than a proper fix, but at least
make the generated figure correct.
The underlying problem is the more fundemental one of inconsistent units
behavior in which some artists can be re-united after plotting (e.g.
Line2D), while many others (e.g. Collections) cannot.
Thus, until that is addressed (which is one of the goals of the
data-prototype work), simply setting units early is as good as we can
do.
Closes #5051
PR Summary
PR Checklist
Documentation and Tests
Release Notes