@@ -20,7 +20,9 @@ interactive backend, an `ImportError` will be raised.
2020mplot3d auto-registration
2121~~~~~~~~~~~~~~~~~~~~~~~~~
2222mplot3d is always registered by default now. It is no longer necessary to
23- import mplot3d to create 3d axes with ``fig.add_subplot(111, projection="3d") ``.
23+ import mplot3d to create 3d axes with ::
24+
25+ ax = fig.add_subplot(111, projection="3d")
2426
2527Invalid points in PathCollections
2628~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -106,7 +108,9 @@ via `Axis.set_remove_overlapping_locs` and `~pyplot.setp`).
106108
107109The major tick labels could also be adjusted include hours and
108110minutes, as the minor ticks are gone, so the ``major_formatter ``
109- should be ``mdates.DateFormatter("%H:%M\n%a") ``.
111+ would be::
112+
113+ mdates.DateFormatter("%H:%M\n%a")
110114
111115usetex support
112116~~~~~~~~~~~~~~
@@ -309,7 +313,7 @@ LaTeX code in matplotlibrc file
309313Previously, the rc file keys ``pgf.preamble `` and ``text.latex.preamble `` were
310314parsed using commmas as separators. This would break valid LaTeX code, such as::
311315
312- \u sepackage[protrusion=true, expansion=false]{microtype}
316+ \usepackage[protrusion=true, expansion=false]{microtype}
313317
314318The parsing has been modified to pass the complete line to the LaTeX system,
315319keeping all commas. Passing a list of strings from within a Python script still
0 commit comments