File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ functions are directed to the current axes
16
16
.. plot :: pyplots/pyplot_simple.py
17
17
:include-source:
18
18
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
21
21
:func: `~matplotlib.pyplot.plot ` command, matplotlib assumes it is a
22
22
sequence of y values, and automatically generates the x values for
23
23
you. Since python ranges start with 0, the default x vector has the
24
24
same length as y but starts with 0. Hence the x data are
25
- ``[0,1,2] ``.
25
+ ``[0,1,2,3 ] ``.
26
26
27
27
:func: `~matplotlib.pyplot.plot ` is a versatile command, and will take
28
28
an arbitrary number of arguments. For example, to plot x versus y,
You can’t perform that action at this time.
0 commit comments