matplotlib / cheatsheets

Official Matplotlib cheat sheets

Home Page:https://matplotlib.org/cheatsheets/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

In the handout for beginners, plt.subplots(2, 1) should be used.

radarFudan opened this issue · comments

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)

Can you be more specific where this typo is on the cheat sheet?

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))

Thanks for the report. Can you make a PR?