5db9e24175b930604314f92ac46b3eec6275f960,examples/units/bar_demo2.py,,,#,19
Before Change
bottom = 0*cm
width = 0.8*cm
fig = plt.figure()
ax1 = fig.add_subplot(2, 2, 1)
ax1.bar(cms, cms, bottom=bottom)
ax2 = fig.add_subplot(2, 2, 2)
ax2.bar(cms, cms, bottom=bottom, width=width, xunits=cm, yunits=inch)
ax3 = fig.add_subplot(2, 2, 3)
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
bottom = 0 * cm
width = 0.8 * cm
fig, axs = plt.subplots(2, 2)
axs[0, 0].bar(cms, cms, bottom=bottom)
axs[0, 1].bar(cms, cms, bottom=bottom, width=width, xunits=cm, yunits=inch)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 10
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: 365d54c7eadcad1d9ff065299f75da7ca5f80d28
Time: 2018-07-05
Author: 2836374+timhoffm@users.noreply.github.com
File Name: lib/matplotlib/tests/test_axes.py
Class Name:
Method Name: test_symlog2
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: 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: 869bd95b3d8eb4e333f303a7fd25cb84f1b66c6f
Time: 2017-05-29
Author: quantum.analyst@gmail.com
File Name: examples/pylab_examples/spy_demos.py
Class Name:
Method Name: