Skip to content

Commit

Permalink
More edis of the doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
kwankyu committed Nov 30, 2022
1 parent a8741d8 commit 6458968
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sage/plot/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1741,15 +1741,15 @@ def b(n): return lambda x: bessel_J(n, x) + 0.5*(n-1)
::
sage: plot(2*x + 1,(x, 0, 5), ticks=[[0, 1, e, pi, sqrt(20)], [1, 2, 2*e + 1, 2*pi + 1, 2*sqrt(20) + 1]], tick_formatter="latex")
sage: plot(2*x + 1,(x, 0, 5), ticks=[[0, 1, e, pi, sqrt(20)], [1, 3, 2*e + 1, 2*pi + 1, 2*sqrt(20) + 1]], tick_formatter="latex")
Graphics object consisting of 1 graphics primitive
.. PLOT::
g = plot(2*x + 1,(x, 0, 5), ticks=[[0, 1, e, pi, sqrt(20)], [1, 2, 2*e + 1, 2*pi + 1, 2*sqrt(20) + 1]], tick_formatter="latex")
g = plot(2*x + 1,(x, 0, 5), ticks=[[0, 1, e, pi, sqrt(20)], [1, 3, 2*e + 1, 2*pi + 1, 2*sqrt(20) + 1]], tick_formatter="latex")
sphinx_plot(g)
This is particularly useful when setting custom ticks in multiples of `pi`.
This is particularly useful when setting custom ticks in multiples of `\pi`.
::
Expand Down

0 comments on commit 6458968

Please sign in to comment.