618588dcf98a32cc2c8e3d9e766b416ca8f3c9ac,examples/subplots_axes_and_figures/figure_title.py,,,#,18

Before Change


plt.plot(t3, np.cos(2*np.pi*t3), "--")
plt.xlabel("time (s)")
plt.title("subplot 2")
plt.ylabel("Undamped")

plt.subplots_adjust(left=0.2, wspace=0.8, top=0.8)

plt.show()

After Change


axs[1].plot(t3, np.cos(2*np.pi*t3), "--")
axs[1].set_xlabel("time (s)")
axs[1].set_title("subplot 2")
axs[1].set_ylabel("Undamped")

plt.show()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: matplotlib/matplotlib
Commit Name: 618588dcf98a32cc2c8e3d9e766b416ca8f3c9ac
Time: 2018-07-06
Author: jklymak@gmail.com
File Name: examples/subplots_axes_and_figures/figure_title.py
Class Name:
Method Name:


Project Name: nipy/dipy
Commit Name: 26359ea24696a73166f780643fb0f3a3d422a9c6
Time: 2019-04-14
Author: arokem@gmail.com
File Name: doc/examples/reconst_ivim.py
Class Name:
Method Name:


Project Name: ScottfreeLLC/AlphaPy
Commit Name: 7a7d0e7b35cbee6b3409ac30ff4bf4edfe525af2
Time: 2019-11-17
Author: Mark.R.Conway@gmail.com
File Name: alphapy/plots.py
Class Name:
Method Name: plot_confusion_matrix