ax1 = fig.add_subplot(2,2,1)
After creating an object called ax1 like this,
a = ax1.scatter(np.arange(30), np.arange(30)+3*randn(30))
I drew a graph like this, but unlike the bar in the book, Graph is not returned
matplotlib.collections.PathCollection at 0x1106424a8 What's the reason why it's only coming up like this
matplotlib
I wish there was more explanation about what kind of book you were looking at and what kind of environment you were running in, but if you guess and answer them, It looks like the following situation.
>>> import numpy as np
>>> import matplotlib.pyplot as plt
>>> plt.scatter(np.arange(30), np.arange(30));
<matplotlib.collections.PathCollection object at 0x1049094e0>
I can see the graph when you write it down as below.
>>> plt.show()
573 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
613 GDB gets version error when attempting to debug with the Presense SDK (IDE)
576 Who developed the "avformat-59.dll" that comes with FFmpeg?
920 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.