777b9c98503cb261a1df2c08cdebe6325483ea09,examples/subplots_axes_and_figures/axes_demo.py,,,#,19

Before Change


left_inset_ax.set_title("Impulse response")
left_inset_ax.set_xlim(0, 0.2)
left_inset_ax.set_xticks([])
left_inset_ax.set_yticks([])

plt.show()

After Change


// this is another inset axes over the main axes
left_inset_ax = fig.add_axes([.2, .6, .2, .2], facecolor="k")
left_inset_ax.plot(t[:len(r)], r)
left_inset_ax.set(title="Impulse response", xlim=(0, .2), xticks=[], yticks=[])

plt.show()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: matplotlib/matplotlib
Commit Name: 777b9c98503cb261a1df2c08cdebe6325483ea09
Time: 2020-01-23
Author: anntzer.lee@gmail.com
File Name: examples/subplots_axes_and_figures/axes_demo.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: d6fadfc1dc499416b31425c8f2ced5923bacb51f
Time: 2020-04-10
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/widgets.py
Class Name: TextBox
Method Name: __init__


Project Name: scikit-image/scikit-image
Commit Name: 81d96f30b9d3368f43d9f94074256e53cee2baa2
Time: 2016-09-04
Author: multicolor.mood@gmail.com
File Name: doc/examples/segmentation/plot_segmentations.py
Class Name:
Method Name: