Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3906ea3

Browse files
committed
DOC : added missing whats_new/api_changes entries
1 parent cca8e41 commit 3906ea3

File tree

2 files changed

+54
-4
lines changed

2 files changed

+54
-4
lines changed

doc/api/api_changes.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,14 @@ original location:
203203
The use of 0 as an index will raise a warning in 1.4 and an
204204
exception in 1.5.
205205

206+
* Clipping is now off by default on offset boxes.
207+
208+
* matplotlib now uses a less-aggressive call to ``gc.collect(1)`` when
209+
closing figures to avoid major delays with large numbers of user objects
210+
in memory.
211+
212+
* The default clip value of *all* pie artists now defaults to ``False``.
213+
206214

207215
Code removal
208216
------------

doc/users/whats_new.rst

Lines changed: 46 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ provided by the constructor's `gamma` argument. Power law normalization
5959
can be useful for, e.g., emphasizing small populations in a histogram.
6060

6161
Fully customizable boxplots
62-
````````````````````````````
62+
```````````````````````````
6363
Paul Hobson overhauled the :func:`~matplotlib.pyplot.boxplot` method such
6464
that it is now completely customizable in terms of the styles and positions
6565
of the individual artists. Under the hood, :func:`~matplotlib.pyplot.boxplot`
@@ -242,6 +242,11 @@ Caradec Bisesar and Vlad Vassilovski.
242242

243243
.. plot:: mpl_examples/mplot3d/quiver3d_demo.py
244244

245+
polar-plot r-tick locations
246+
```````````````````````````
247+
Added the ability to control the angular position of the r-tick labels
248+
on a polar plot via :func:`~matplotlib.Axes.axes.set_rlabel_position`.
249+
245250
Date handling
246251
-------------
247252

@@ -257,12 +262,17 @@ conversion interfaces :class:`matplotlib.dates.DateConverter` and
257262
Configuration (rcParams)
258263
------------------------
259264

265+
260266
``savefig.transparent`` added
261267
`````````````````````````````
262268
Controls whether figures are saved with a transparent
263269
background by default. Previously `savefig` always defaulted
264270
to a non-transparent background.
265271

272+
``axes.titleweight``
273+
````````````````````
274+
Added rcParam to control the weight of the title
275+
266276
``axes.formatter.useoffset`` added
267277
``````````````````````````````````
268278
Controls the default value of `useOffset` in `ScalarFormatter`. If
@@ -271,8 +281,13 @@ an offset will be determined such that the tick labels are
271281
meaningful. If `False` then the full number will be formatted in all
272282
conditions.
273283

284+
XDG compliance
285+
``````````````
286+
Matplotlib now looks for configuration files (both rcparams and style) in XDG
287+
compliant locations.
288+
274289
``style`` package added
275-
```````````````````````
290+
-----------------------
276291
You can now easily switch between different styles using the new ``style``
277292
package::
278293

@@ -308,15 +323,18 @@ Rudolf Höfler changed the appearance of the subplottool. All sliders are
308323
vertically arranged now, buttons for tight layout and reset were
309324
added. Furthermore, the the subplottool is now implemented as a modal
310325
dialog. It was previously a QMainWindow, leaving the SPT open if one closed the
311-
plotwindow.
326+
plot window.
312327

313-
In the figureoptions dialog one can now choose to (re-)generate a simple
328+
In the figure options dialog one can now choose to (re-)generate a simple
314329
automatic legend. Any explicitly set legend entries will be lost, but changes to
315330
the curves' label, linestyle, et cetera will now be updated in the legend.
316331

317332
Interactive performance of the Qt4 backend has been dramatically improved
318333
under windows.
319334

335+
The mapping of key-signals from Qt to values matplotlib understands
336+
was greatly improved (For both Qt4 and Qt5).
337+
320338
Cairo backends
321339
``````````````
322340

@@ -331,6 +349,10 @@ Gtk3Agg backend
331349
The Gtk3Agg backend now works on Python 3.x, if the `cairocffi
332350
bindings <https://github.com/SimonSapin/cairocffi>`__ are installed.
333351

352+
PDF backend
353+
```````````
354+
Added context manager for saving to multi-page PDFs.
355+
334356
Text
335357
----
336358

@@ -342,6 +364,12 @@ url as a link in output SVGs. This allows one to make clickable text in
342364
saved figures using the url kwarg of the :class:`~matplotlib.text.Text`
343365
class.
344366

367+
Anchored sizebar font
368+
`````````````````````
369+
Added the ``fontproperties`` kwarg to
370+
:class:`~matplotilb.mpl_toolkits.axes_grid.anchored_artists.AnchoredSizeBar` to
371+
control the font properties.
372+
345373
Sphinx extensions
346374
-----------------
347375

@@ -351,6 +379,20 @@ cause the context to be reset. This allows more than one distinct context to
351379
be present in documentation. To enable this option, use ``:context: reset``
352380
instead of ``:context:`` any time you want to reset the context.
353381

382+
Widgets
383+
-------
384+
385+
Span Selector
386+
`````````````
387+
388+
Added an option ``span_stays`` to the
389+
:class:`~matplotlib.widgets.SpanSelector` which makes the selector
390+
rectangle stay on the axes after you release the mouse.
391+
392+
GAE integration
393+
---------------
394+
Matplotlib will now run on google app engine.
395+
354396
.. _whats-new-1-3:
355397

356398
new in matplotlib-1.3

0 commit comments

Comments
 (0)