File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ functions are directed to the current axes
1616.. plot :: pyplots/pyplot_simple.py
1717 :include-source:
1818
19- You may be wondering why the x-axis ranges from 0-2 and the y-axis
20- from 1-3 . If you provide a single list or array to the
19+ You may be wondering why the x-axis ranges from 0-3 and the y-axis
20+ from 1-4 . If you provide a single list or array to the
2121:func: `~matplotlib.pyplot.plot ` command, matplotlib assumes it is a
2222sequence of y values, and automatically generates the x values for
2323you. Since python ranges start with 0, the default x vector has the
2424same length as y but starts with 0. Hence the x data are
25- ``[0,1,2] ``.
25+ ``[0,1,2,3 ] ``.
2626
2727:func: `~matplotlib.pyplot.plot ` is a versatile command, and will take
2828an arbitrary number of arguments. For example, to plot x versus y,
You can’t perform that action at this time.
0 commit comments