In the handout for beginners, plt.subplots(2, 1) should be used.
radarFudan opened this issue · 4 comments
radarFudan commented
I'm using matplotlib-3.6.0.
When I use plt.subplots((2, 1)), there is an error: ValueError: Number of rows must be a positive integer, not (2, 1)
jklymak commented
Can you be more specific where this typo is on the cheat sheet?
radarFudan commented
It's at the third column of the handout for beginners.
In the second code block of Organize.
fig, (ax1, ax2) = plt.subplots((2,1))
rougier commented
Thanks for the report. Can you make a PR?