@@ -227,11 +227,10 @@ Figure has an `~.figure.Figure.add_artist` method
227227
228228A method `~.figure.Figure.add_artist ` has been added to the
229229:class: `~.figure.Figure ` class, which allows artists to be added directly
230- to a figure. E.g.
230+ to a figure. E.g. ::
231231
232- ::
233- circ = plt.Circle((.7, .5), .05)
234- fig.add_artist(circ)
232+ circ = plt.Circle((.7, .5), .05)
233+ fig.add_artist(circ)
235234
236235In case the added artist has no transform set previously, it will be set to
237236the figure transform (``fig.transFigure ``).
@@ -242,7 +241,7 @@ easily position static elements in figure coordinates.
242241
243242
244243Return type of ArtistInspector.get_aliases changed
245- ``````````````````````````````````````````````````
244+ --------------------------------------------------
246245
247246`ArtistInspector.get_aliases ` previously returned the set of aliases as
248247``{fullname: {alias1: None, alias2: None, ...}} ``. The dict-to-None mapping
@@ -254,7 +253,7 @@ changed.
254253
255254
256255``:math: `` directive renamed to ``:mathmpl: ``
257- `````````````````````````````````````````````
256+ ---------------------------------------------
258257
259258The ``:math: `` rst role provided by `matplotlib.sphinxext.mathmpl ` has been
260259renamed to ``:mathmpl: `` to avoid conflicting with the ``:math: `` role that
0 commit comments