I have found a typo on the website here: Translating between the Axes interface and the pyplot.
Here, the differences between Explicit “Axes” interface and Implicit “pyplot” interface are documented. Both the interfaces have one function which is very similar:
- Explicit Interface → fig.subplots()
- Implicit Interface → plt.subplot()
In the first bullet point:
Creating figures is the same for both interfaces: Use the respective
pyplotfunctionsplt.figure(),plt.subplots(),plt.subplot_mosaic(). For the Axes interface, you typically store the created Figure (and possibly Axes) in variables for later use. When using the pyplot interface, these values are typically not stored. Example:
- Axes:
fig, ax = plt.subplots()- pyplot: ~plt.subplots()~
It should be plt.subplot().
Similarly, in the 1st row (Creating figures) and 2nd column (pyplot interface) of the table, ~plt.subplots()~ is written. It should be plt.subplot().
Screenshots are attached.
Request to correct the same.
1 post - 1 participant

