When creating a subplot by subtracting Fig.add_subplot
The returned object is called AxesSubplot, but I don't understand the meaning of AxesSubplot even after searching.
I'm not sure how it affects the results or coding because it's returned to Axes Subplotㅠ<
pandas matplotlib python3
Axes object returns, not AxesSubplot.
After you create a subplot, you can draw a graph as follows.
import matplotlib.pyplot as plt
fig = plt.figure()
ax1 = fig.add_subplot(221)
ax1.plot([1, 5])
ax2 = fig.add_subplot(223)
ax2.plot([5, 10])
plt.show()
If you draw it, it looks like this.
856 Uncaught (inpromise) Error on Electron: An object could not be cloned
758 Error in x, y, and format string must not be None
771 GDB gets version error when attempting to debug with the Presense SDK (IDE)
1235 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2025 OneMinuteCode. All rights reserved.