From 3906ea38fb306debc6b5868bec3a7b967b8185bd Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Fri, 11 Jul 2014 17:51:04 -0400 Subject: [PATCH] DOC : added missing whats_new/api_changes entries --- doc/api/api_changes.rst | 8 +++++++ doc/users/whats_new.rst | 50 +++++++++++++++++++++++++++++++++++++---- 2 files changed, 54 insertions(+), 4 deletions(-) diff --git a/doc/api/api_changes.rst b/doc/api/api_changes.rst index 171d198f99cd..4b299619f513 100644 --- a/doc/api/api_changes.rst +++ b/doc/api/api_changes.rst @@ -203,6 +203,14 @@ original location: The use of 0 as an index will raise a warning in 1.4 and an exception in 1.5. +* Clipping is now off by default on offset boxes. + +* matplotlib now uses a less-aggressive call to ``gc.collect(1)`` when + closing figures to avoid major delays with large numbers of user objects + in memory. + +* The default clip value of *all* pie artists now defaults to ``False``. + Code removal ------------ diff --git a/doc/users/whats_new.rst b/doc/users/whats_new.rst index d5f424980dd5..0488045ba2ac 100644 --- a/doc/users/whats_new.rst +++ b/doc/users/whats_new.rst @@ -59,7 +59,7 @@ provided by the constructor's `gamma` argument. Power law normalization can be useful for, e.g., emphasizing small populations in a histogram. Fully customizable boxplots -```````````````````````````` +``````````````````````````` Paul Hobson overhauled the :func:`~matplotlib.pyplot.boxplot` method such that it is now completely customizable in terms of the styles and positions of the individual artists. Under the hood, :func:`~matplotlib.pyplot.boxplot` @@ -242,6 +242,11 @@ Caradec Bisesar and Vlad Vassilovski. .. plot:: mpl_examples/mplot3d/quiver3d_demo.py +polar-plot r-tick locations +``````````````````````````` +Added the ability to control the angular position of the r-tick labels +on a polar plot via :func:`~matplotlib.Axes.axes.set_rlabel_position`. + Date handling ------------- @@ -257,12 +262,17 @@ conversion interfaces :class:`matplotlib.dates.DateConverter` and Configuration (rcParams) ------------------------ + ``savefig.transparent`` added ````````````````````````````` Controls whether figures are saved with a transparent background by default. Previously `savefig` always defaulted to a non-transparent background. +``axes.titleweight`` +```````````````````` +Added rcParam to control the weight of the title + ``axes.formatter.useoffset`` added `````````````````````````````````` Controls the default value of `useOffset` in `ScalarFormatter`. If @@ -271,8 +281,13 @@ an offset will be determined such that the tick labels are meaningful. If `False` then the full number will be formatted in all conditions. +XDG compliance +`````````````` +Matplotlib now looks for configuration files (both rcparams and style) in XDG +compliant locations. + ``style`` package added -``````````````````````` +----------------------- You can now easily switch between different styles using the new ``style`` package:: @@ -308,15 +323,18 @@ Rudolf Höfler changed the appearance of the subplottool. All sliders are vertically arranged now, buttons for tight layout and reset were added. Furthermore, the the subplottool is now implemented as a modal dialog. It was previously a QMainWindow, leaving the SPT open if one closed the -plotwindow. +plot window. -In the figureoptions dialog one can now choose to (re-)generate a simple +In the figure options dialog one can now choose to (re-)generate a simple automatic legend. Any explicitly set legend entries will be lost, but changes to the curves' label, linestyle, et cetera will now be updated in the legend. Interactive performance of the Qt4 backend has been dramatically improved under windows. +The mapping of key-signals from Qt to values matplotlib understands +was greatly improved (For both Qt4 and Qt5). + Cairo backends `````````````` @@ -331,6 +349,10 @@ Gtk3Agg backend The Gtk3Agg backend now works on Python 3.x, if the `cairocffi bindings `__ are installed. +PDF backend +``````````` +Added context manager for saving to multi-page PDFs. + Text ---- @@ -342,6 +364,12 @@ url as a link in output SVGs. This allows one to make clickable text in saved figures using the url kwarg of the :class:`~matplotlib.text.Text` class. +Anchored sizebar font +````````````````````` +Added the ``fontproperties`` kwarg to +:class:`~matplotilb.mpl_toolkits.axes_grid.anchored_artists.AnchoredSizeBar` to +control the font properties. + Sphinx extensions ----------------- @@ -351,6 +379,20 @@ cause the context to be reset. This allows more than one distinct context to be present in documentation. To enable this option, use ``:context: reset`` instead of ``:context:`` any time you want to reset the context. +Widgets +------- + +Span Selector +````````````` + +Added an option ``span_stays`` to the +:class:`~matplotlib.widgets.SpanSelector` which makes the selector +rectangle stay on the axes after you release the mouse. + +GAE integration +--------------- +Matplotlib will now run on google app engine. + .. _whats-new-1-3: new in matplotlib-1.3