@@ -20,7 +20,9 @@ interactive backend, an `ImportError` will be raised.
20
20
mplot3d auto-registration
21
21
~~~~~~~~~~~~~~~~~~~~~~~~~
22
22
mplot3d 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")
24
26
25
27
Invalid points in PathCollections
26
28
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -106,7 +108,9 @@ via `Axis.set_remove_overlapping_locs` and `~pyplot.setp`).
106
108
107
109
The major tick labels could also be adjusted include hours and
108
110
minutes, 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")
110
114
111
115
usetex support
112
116
~~~~~~~~~~~~~~
@@ -309,7 +313,7 @@ LaTeX code in matplotlibrc file
309
313
Previously, the rc file keys ``pgf.preamble `` and ``text.latex.preamble `` were
310
314
parsed using commmas as separators. This would break valid LaTeX code, such as::
311
315
312
- \u sepackage[protrusion=true, expansion=false]{microtype}
316
+ \usepackage[protrusion=true, expansion=false]{microtype}
313
317
314
318
The parsing has been modified to pass the complete line to the LaTeX system,
315
319
keeping all commas. Passing a list of strings from within a Python script still
0 commit comments