10000 Doc merge whatsnew apichanges by tacaswell · Pull Request #5066 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Doc merge whatsnew apichanges #5066

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Sep 15, 2015
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
DOC: fix up headings
  • Loading branch information
tacaswell committed Sep 15, 2015
commit 40f7fa89ceefa2b5f0daaf3a1438aead9d99f7b7
36 changes: 18 additions & 18 deletions doc/api/api_changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1350,7 +1350,7 @@ past tense, whereas methods that alter an object in place are named
with a verb in the present tense.

:mod:`matplotlib.transforms`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
````````````````````````````

============================================================ ============================================================
Old method New method
Expand Down Expand Up @@ -1415,7 +1415,7 @@ Old method New method
:attr:`~matplotlib.transforms.Bbox.xmin`.

:mod:`matplotlib.axes`
~~~~~~~~~~~~~~~~~~~~~~
``````````````````````

============================================================ ============================================================
Old method New method
Expand Down Expand Up @@ -1443,7 +1443,7 @@ The :class:`Polar` class has moved to :mod:`matplotlib.projections.polar`.
`Axes.toggle_log_lineary()` has been removed.

:mod:`matplotlib.artist`
~~~~~~~~~~~~~~~~~~~~~~~~~~
````````````````````````

============================================================ ============================================================
Old method New method
Expand All @@ -1457,7 +1457,7 @@ Old method New method
the path immediately before clipping.

:mod:`matplotlib.collections`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
`````````````````````````````

============================================================ ============================================================
Old method New method
Expand All @@ -1470,7 +1470,7 @@ Old method New method
provided.

:mod:`matplotlib.colors`
~~~~~~~~~~~~~~~~~~~~~~~~
````````````````````````

============================================================ ============================================================
Old method New method
Expand All @@ -1481,7 +1481,7 @@ Old method New method
============================================================ ============================================================

:mod:`matplotlib.contour`
~~~~~~~~~~~~~~~~~~~~~~~~~
`````````````````````````

============================================================ ============================================================
Old method New method
Expand All @@ -1491,7 +1491,7 @@ Old method New method
============================================================ ============================================================

:mod:`matplotlib.figure`
~~~~~~~~~~~~~~~~~~~~~~~~
````````````````````````

============================================================ ============================================================
Old method New method
Expand All @@ -1500,7 +1500,7 @@ Old method New method
============================================================ ============================================================

:mod:`matplotlib.patches`
~~~~~~~~~~~~~~~~~~~~~~~~~
`````````````````````````

============================================================ ============================================================
Old method New method
Expand All @@ -1510,7 +1510,7 @@ Old method New method
============================================================ ============================================================

:mod:`matplotlib.backend_bases`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```````````````````````````````

============================================================ ============================================================
Old method New method
Expand Down Expand Up @@ -2301,7 +2301,7 @@ MATLAB interface
----------------

dpi
~~~
```

Several of the backends used a PIXELS_PER_INCH hack that I added to
try and make images render consistently across backends. This just
Expand All @@ -2312,7 +2312,7 @@ screen to get true sizes.


pcolor and scatter
~~~~~~~~~~~~~~~~~~
``````````````````

There are two changes to the MATLAB interface API, both involving the
patch drawing commands. For efficiency, pcolor and scatter have been
Expand Down Expand Up @@ -2353,7 +2353,7 @@ Using sizes in data coords caused several problems. So you will need
to adjust your size arguments accordingly or use scatter_classic.

mathtext spacing
~~~~~~~~~~~~~~~~
````````````````

For reasons not clear to me (and which I'll eventually fix) spacing no
longer works in font groups. However, I added three new spacing
Expand All @@ -2369,13 +2369,13 @@ Object interface - Application programmers
------------------------------------------

Autoscaling
~~~~~~~~~~~
```````````

The x and y axis instances no longer have autoscale view. These are
handled by axes.autoscale_view

Axes creation
~~~~~~~~~~~~~
`````````````

You should not instantiate your own Axes any more using the OO API.
Rather, create a Figure as before and in place of::
Expand All @@ -2395,13 +2395,13 @@ Axes creation
add_subplot(num, axisbg=defaultcolor, frameon=True)

Artist methods
~~~~~~~~~~~~~~
``````````````

If you define your own Artists, you need to rename the _draw method
to draw

Bounding boxes
~~~~~~~~~~~~~~
``````````````

matplotlib.transforms.Bound2D is replaced by
matplotlib.transforms.Bbox. If you want to construct a bbox from
Expand All @@ -2425,7 +2425,7 @@ Bounding boxes


Object constructors
~~~~~~~~~~~~~~~~~~~
```````````````````

You no longer pass the bbox, dpi, or transforms to the various
Artist constructors. The old way or creating lines and rectangles
Expand Down Expand Up @@ -2455,7 +2455,7 @@ Object constructors
set your own already, in which case it will eave it unchanged)

Transformations
~~~~~~~~~~~~~~~
```````````````

The entire transformation architecture has been rewritten.
Previously the x and y transformations where stored in the xaxis and
Expand Down
0