|
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 | Default install no longer includes test images
|
@@ -328,7 +328,7 @@ demonstrates the difference. Use of the old contouring algorithm, which is
|
328 | 328 | obtained with `corner_mask='legacy'`, is now deprecated.
|
329 | 329 |
|
330 | 330 | Contour labels may now appear in different places than in earlier versions of
|
331 |
| -matplotlib. |
| 331 | +Matplotlib. |
332 | 332 |
|
333 | 333 | In addition, the keyword argument `nchunk` now applies to
|
334 | 334 | :func:`~matplotlib.pyplot.contour` as well as
|
@@ -559,7 +559,7 @@ Removed `Lena` images from sample_data
|
559 | 559 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
560 | 560 |
|
561 | 561 | The ``lena.png`` and ``lena.jpg`` images have been removed from
|
562 |
| -matplotlib's sample_data directory. The images are also no longer |
| 562 | +Matplotlib's sample_data directory. The images are also no longer |
563 | 563 | available from `matplotlib.cbook.get_sample_data`. We suggest using
|
564 | 564 | `matplotlib.cbook.get_sample_data('grace_hopper.png')` or
|
565 | 565 | `matplotlib.cbook.get_sample_data('grace_hopper.jpg')` instead.
|
@@ -729,7 +729,7 @@ original location:
|
729 | 729 |
|
730 | 730 | * The Sphinx extensions `ipython_directive` and
|
731 | 731 | `ipython_console_highlighting` have been moved to the IPython
|
732 |
| - project itself. While they remain in matplotlib for this release, |
| 732 | + project itself. While they remain in Matplotlib for this release, |
733 | 733 | they have been deprecated. Update your extensions in `conf.py` to
|
734 | 734 | point to `IPython.sphinxext.ipython_directive` instead of
|
735 | 735 | `matplotlib.sphinxext.ipython_directive`.
|
@@ -864,7 +864,7 @@ original location:
|
864 | 864 |
|
865 | 865 | * Clipping is now off by default on offset boxes.
|
866 | 866 |
|
867 |
| -* matplotlib now uses a less-aggressive call to ``gc.collect(1)`` when |
| 867 | +* Matplotlib now uses a less-aggressive call to ``gc.collect(1)`` when |
868 | 868 | closing figures to avoid major delays with large numbers of user objects
|
869 | 869 | in memory.
|
870 | 870 |
|
@@ -978,7 +978,7 @@ Code deprecation
|
978 | 978 | * The `ScalarMappable` class' `set_colorbar` is now
|
979 | 979 | deprecated. Instead, the
|
980 | 980 | :attr:`matplotlib.cm.ScalarMappable.colorbar` attribute should be
|
981 |
| - used. In previous matplotlib versions this attribute was an |
| 981 | + used. In previous Matplotlib versions this attribute was an |
982 | 982 | undocumented tuple of ``(colorbar_instance, colorbar_axes)`` but is
|
983 | 983 | now just ``colorbar_instance``. To get the colorbar axes it is
|
984 | 984 | possible to just use the
|
@@ -1164,7 +1164,7 @@ Changes in 1.2.x
|
1164 | 1164 | ax = projection_class(self, rect, **kwargs)
|
1165 | 1165 |
|
1166 | 1166 | This change means that third party objects can expose themselves as
|
1167 |
| - matplotlib axes by providing a ``_as_mpl_axes`` method. See |
| 1167 | + Matplotlib axes by providing a ``_as_mpl_axes`` method. See |
1168 | 1168 | :ref:`adding-new-scales` for more detail.
|
1169 | 1169 |
|
1170 | 1170 | * A new keyword *extendfrac* in :meth:`~matplotlib.pyplot.colorbar` and
|
@@ -1419,7 +1419,7 @@ Changes in 0.99
|
1419 | 1419 | * Polar plots no longer accept a resolution kwarg. Instead, each Path
|
1420 | 1420 | must specify its own number of interpolation steps. This is
|
1421 | 1421 | unlikely to be a user-visible change -- if interpolation of data is
|
1422 |
| - required, that should be done before passing it to matplotlib. |
| 1422 | + required, that should be done before passing it to Matplotlib. |
1423 | 1423 |
|
1424 | 1424 | Changes for 0.98.x
|
1425 | 1425 | ==================
|
@@ -1556,7 +1556,7 @@ Changes for 0.98.0
|
1556 | 1556 | color cycle: :func:`matplotlib.axes.set_default_color_cycle` and
|
1557 | 1557 | :meth:`matplotlib.axes.Axes.set_color_cycle`.
|
1558 | 1558 |
|
1559 |
| -* matplotlib now requires Python 2.4, so :mod:`matplotlib.cbook` will |
| 1559 | +* Matplotlib now requires Python 2.4, so :mod:`matplotlib.cbook` will |
1560 | 1560 | no longer provide :class:`set`, :func:`enumerate`, :func:`reversed`
|
1561 | 1561 | or :func:`izip` compatibility functions.
|
1562 | 1562 |
|
|
0 commit comments