5db9e24175b930604314f92ac46b3eec6275f960,examples/units/bar_demo2.py,,,#,19
Before Change
ax3.bar(cms, cms, bottom=bottom, width=width, xunits=inch, yunits=cm)
ax3.set_xlim(2, 6) // scalars are interpreted in current units
ax4 = fig.add_subplot(2, 2, 4)
ax4.bar(cms, cms, bottom=bottom, width=width, xunits=inch, yunits=inch)
// fig.savefig("simple_conversion_plot.png")
ax4.set_xlim(2*cm, 6*cm) // cm are converted to inches
After Change
axs[0, 1].bar(cms, cms, bottom=bottom, width=width, xunits=cm, yunits=inch)
axs[1, 0].bar(cms, cms, bottom=bottom, width=width, xunits=inch, yunits=cm)
axs[1, 0].set_xlim(2, 6) // scalars are interpreted in current units
axs[1, 1].bar(cms, cms, bottom=bottom, width=width, xunits=inch, yunits=inch)
axs[1, 1].set_xlim(2 * cm, 6 * cm) // cm are converted to inches
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: matplotlib/matplotlib
Commit Name: 5db9e24175b930604314f92ac46b3eec6275f960
Time: 2017-04-05
Author: dstansby@gmail.com
File Name: examples/units/bar_demo2.py
Class Name:
Method Name:
Project Name: matplotlib/matplotlib
Commit Name: ec5e8863a6352da673b55cb971529f38278cf64e
Time: 2018-03-26
Author: pmhobson@gmail.com
File Name: examples/images_contours_and_fields/barb_demo.py
Class Name:
Method Name:
Project Name: matplotlib/matplotlib
Commit Name: e9a5a2b119f7f76ffbfd0fe62fa9130c117d8dff
Time: 2017-04-23
Author: quantum.analyst@gmail.com
File Name: examples/units/bar_demo2.py
Class Name:
Method Name:
Project Name: matplotlib/matplotlib
Commit Name: 27c2dc10bb9f83026db6378c151d8108fc044af8
Time: 2018-06-27
Author: jklymak@gmail.com
File Name: examples/images_contours_and_fields/barb_demo.py
Class Name:
Method Name: