Skip to content

Commit

Permalink
pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
CDonnerer committed Jan 30, 2021
1 parent 4f12400 commit f808486
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/examples/basic_usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Scatter plots can be created via the ``plot`` function::

>>> import numpy as np
>>> import shellplot as plt
>>> x = np.arange(-4, 4, 0.3)
>>> x = np.arange(-4, 4, 0.01)
>>> y = np.cos(x)
>>> plt.plot(x, y)

Expand Down Expand Up @@ -108,7 +108,7 @@ Multiple series can be plotted by providing 2d arrays to the plot function::

>>> import numpy as np
>>> import shellplot as plt
>>> x = np.arange(-3, 6, 0.01)
>>> x = np.arange(-3, 6, 0.3)
>>> y1 = np.cos(x)
>>> y2 = np.sin(x)
>>> x, y = np.vstack((x, x)), np.vstack((y1, y2))
Expand Down

0 comments on commit f808486

Please sign in to comment.