|
3 | 3 | API Changes |
4 | 4 | ============= |
5 | 5 |
|
6 | | -Log of changes to matplotlib that affect the outward-facing API. If |
7 | | -updating matplotlib breaks your scripts, this list may help you figure |
| 6 | +Log of changes to Matplotlib that affect the outward-facing API. If |
| 7 | +updating Matplotlib breaks your scripts, this list may help you figure |
8 | 8 | out what caused the breakage and how to fix it by updating your code. |
9 | 9 |
|
10 | | -For new features that were added to matplotlib, please see |
| 10 | +For new features that were added to Matplotlib, please see |
11 | 11 | :ref:`whats-new`. |
12 | 12 |
|
13 | 13 |
|
@@ -196,9 +196,9 @@ The spectral colormap is now nipy_spectral |
196 | 196 | ------------------------------------------ |
197 | 197 |
|
198 | 198 | The colormaps formerly known as ``spectral`` and ``spectral_r`` have been |
199 | | -replaced by ``nipy_spectral`` and ``nipy_spectral_r`` since matplotlib |
200 | | -1.3.0. Even though the colormap was deprecated in matplotlib 1.3.0, it never |
201 | | -raised a warning. As of matplotlib 2.0.0, using the old names raises a |
| 199 | +replaced by ``nipy_spectral`` and ``nipy_spectral_r`` since Matplotlib |
| 200 | +1.3.0. Even though the colormap was deprecated in Matplotlib 1.3.0, it never |
| 201 | +raised a warning. As of Matplotlib 2.0.0, using the old names raises a |
202 | 202 | deprecation warning. In the future, using the old names will raise an error. |
203 | 203 |
|
204 | 204 | Changes in 1.5.3 |
@@ -314,7 +314,7 @@ demonstrates the difference. Use of the old contouring algorithm, which is |
314 | 314 | obtained with `corner_mask='legacy'`, is now deprecated. |
315 | 315 |
|
316 | 316 | Contour labels may now appear in different places than in earlier versions of |
317 | | -matplotlib. |
| 317 | +Matplotlib. |
318 | 318 |
|
319 | 319 | In addition, the keyword argument `nchunk` now applies to |
320 | 320 | :func:`~matplotlib.pyplot.contour` as well as |
@@ -545,7 +545,7 @@ Removed `Lena` images from sample_data |
545 | 545 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
546 | 546 |
|
547 | 547 | The ``lena.png`` and ``lena.jpg`` images have been removed from |
548 | | -matplotlib's sample_data directory. The images are also no longer |
| 548 | +Matplotlib's sample_data directory. The images are also no longer |
549 | 549 | available from `matplotlib.cbook.get_sample_data`. We suggest using |
550 | 550 | `matplotlib.cbook.get_sample_data('grace_hopper.png')` or |
551 | 551 | `matplotlib.cbook.get_sample_data('grace_hopper.jpg')` instead. |
@@ -715,7 +715,7 @@ original location: |
715 | 715 |
|
716 | 716 | * The Sphinx extensions `ipython_directive` and |
717 | 717 | `ipython_console_highlighting` have been moved to the IPython |
718 | | - project itself. While they remain in matplotlib for this release, |
| 718 | + project itself. While they remain in Matplotlib for this release, |
719 | 719 | they have been deprecated. Update your extensions in `conf.py` to |
720 | 720 | point to `IPython.sphinxext.ipython_directive` instead of |
721 | 721 | `matplotlib.sphinxext.ipython_directive`. |
@@ -850,7 +850,7 @@ original location: |
850 | 850 |
|
851 | 851 | * Clipping is now off by default on offset boxes. |
852 | 852 |
|
853 | | -* matplotlib now uses a less-aggressive call to ``gc.collect(1)`` when |
| 853 | +* Matplotlib now uses a less-aggressive call to ``gc.collect(1)`` when |
854 | 854 | closing figures to avoid major delays with large numbers of user objects |
855 | 855 | in memory. |
856 | 856 |
|
@@ -964,7 +964,7 @@ Code deprecation |
964 | 964 | * The `ScalarMappable` class' `set_colorbar` is now |
965 | 965 | deprecated. Instead, the |
966 | 966 | :attr:`matplotlib.cm.ScalarMappable.colorbar` attribute should be |
967 | | - used. In previous matplotlib versions this attribute was an |
| 967 | + used. In previous Matplotlib versions this attribute was an |
968 | 968 | undocumented tuple of ``(colorbar_instance, colorbar_axes)`` but is |
969 | 969 | now just ``colorbar_instance``. To get the colorbar axes it is |
970 | 970 | possible to just use the |
@@ -1150,7 +1150,7 @@ Changes in 1.2.x |
1150 | 1150 | ax = projection_class(self, rect, **kwargs) |
1151 | 1151 |
|
1152 | 1152 | This change means that third party objects can expose themselves as |
1153 | | - matplotlib axes by providing a ``_as_mpl_axes`` method. See |
| 1153 | + Matplotlib axes by providing a ``_as_mpl_axes`` method. See |
1154 | 1154 | :ref:`adding-new-scales` for more detail. |
1155 | 1155 |
|
1156 | 1156 | * A new keyword *extendfrac* in :meth:`~matplotlib.pyplot.colorbar` and |
@@ -1405,7 +1405,7 @@ Changes in 0.99 |
1405 | 1405 | * Polar plots no longer accept a resolution kwarg. Instead, each Path |
1406 | 1406 | must specify its own number of interpolation steps. This is |
1407 | 1407 | unlikely to be a user-visible change -- if interpolation of data is |
1408 | | - required, that should be done before passing it to matplotlib. |
| 1408 | + required, that should be done before passing it to Matplotlib. |
1409 | 1409 |
|
1410 | 1410 | Changes for 0.98.x |
1411 | 1411 | ================== |
@@ -1542,7 +1542,7 @@ Changes for 0.98.0 |
1542 | 1542 | color cycle: :func:`matplotlib.axes.set_default_color_cycle` and |
1543 | 1543 | :meth:`matplotlib.axes.Axes.set_color_cycle`. |
1544 | 1544 |
|
1545 | | -* matplotlib now requires Python 2.4, so :mod:`matplotlib.cbook` will |
| 1545 | +* Matplotlib now requires Python 2.4, so :mod:`matplotlib.cbook` will |
1546 | 1546 | no longer provide :class:`set`, :func:`enumerate`, :func:`reversed` |
1547 | 1547 | or :func:`izip` compatibility functions. |
1548 | 1548 |
|
|
0 commit comments