Skip to content

Commit

Permalink
Edited Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
25shriya committed Jun 6, 2024
1 parent dd48aaf commit bf3a20d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/plot/graphics.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def set_legend_options(self, **kwds):
Graphics object consisting of 1 graphics primitive
The parameters ``loc`` and ``borderaxespad`` can be altered in order to place the legend below the x-axis label or to the left of the y-axis label.
The following example sets ``loc=3`` and ``borderaxespad = -7.5-0.01*p.fontsize()`` so as to obtain the legend below the x-axis label.
The following example sets ``loc=3`` and ``borderaxespad = -7.5-0.01*p.fontsize()`` so as to obtain the legend below the x-axis label::
sage: p = line([(0, 0), (1, 1)], legend_label='test')
sage: p.axes_labels(['X-Label', 'Y-Label']) # adding labels for axes
Expand Down

0 comments on commit bf3a20d

Please sign in to comment.