Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1b10c69

Browse filesBrowse files
committed
DOC: merge up whats_new
1 parent e5b9f7d commit 1b10c69
Copy full SHA for 1b10c69

File tree

Expand file treeCollapse file tree

3 files changed

+59
-53
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+59
-53
lines changed

‎doc/users/next_whats_new/2015-10-31_polar_limits.rst

Copy file name to clipboardExpand all lines: doc/users/next_whats_new/2015-10-31_polar_limits.rst
-37Lines changed: 0 additions & 37 deletions
This file was deleted.

‎doc/users/next_whats_new/js-animation.rst

Copy file name to clipboardExpand all lines: doc/users/next_whats_new/js-animation.rst
-16Lines changed: 0 additions & 16 deletions
This file was deleted.

‎doc/users/whats_new.rst

Copy file name to clipboardExpand all lines: doc/users/whats_new.rst
+59Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,65 @@ revision, see the :ref:`github-stats`.
2424
New in Matplotlib 2.1
2525
=====================
2626

27+
Enhancements to polar plot
28+
--------------------------
29+
30+
The polar axes transforms have been greatly re-factored to allow for more
31+
customization of view limits and tick labelling. Additional options for view
32+
limits allow for creating an annulus, a sector, or some combination of the two.
33+
34+
The :meth:`~matplotlib.axes.projections.polar.PolarAxes.set_rorigin` method may
35+
be used to provide an offset to the minimum plotting radius, producing an
36+
annulus.
37+
38+
The :meth:`~matplotlib.projections.polar.PolarAxes.set_theta_zero_location` now
39+
has an optional :code:`offset` argument. This argument may be used to further
40+
specify the zero location based on the given anchor point.
41+
42+
.. figure:: ../gallery/pie_and_polar_charts/images/sphx_glr_polar_scatter_001.png
43+
:target: ../gallery/pie_and_polar_charts/polar_scatter.html
44+
:align: center
45+
:scale: 50
46+
47+
Polar Offset Demo
48+
49+
The :meth:`~matplotlib.axes.projections.polar.PolarAxes.set_thetamin` and
50+
:meth:`~matplotlib.axes.projections.polar.PolarAxes.set_thetamax` methods may
51+
be used to limit the range of angles plotted, producing sectors of a circle.
52+
53+
.. figure:: ../gallery/pie_and_polar_charts/images/sphx_glr_polar_scatter_002.png
54+
:target: ../gallery/pie_and_polar_charts/polar_scatter.html
55+
:align: center
56+
:scale: 50
57+
58+
Polar Sector Demo
59+
60+
Previous releases allowed plots containing negative radii for which the
61+
negative values are simply used as labels, and the real radius is shifted by
62+
the configured minimum. This release also allows negative radii to be used for
63+
grids and ticks, which were previously silently ignored.
64+
65+
66+
67+
Merge JSAnimation
68+
-----------------
69+
70+
Jake Vanderplas' JSAnimation package has been merged into matplotlib. This
71+
adds to matplotlib the `~matplotlib.animation.HTMLWriter` class for
72+
generating a javascript HTML animation, suitable for the IPython notebook.
73+
This can be activated by default by setting the ``animation.html`` rc
74+
parameter to ``jshtml``. One can also call the ``anim_to_jshtml`` function
75+
to manually convert an animation. This can be displayed using IPython's
76+
``HTML`` display class::
77+
78+
from IPython.display import HTML
79+
HTML(animation.anim_to_jshtml(anim))
80+
81+
The `~matplotlib.animation.HTMLWriter` class can also be used to generate
82+
an HTML file by asking for the ``html`` writer.
83+
84+
85+
2786
New TransformedPatchPath caching object
2887
---------------------------------------
2988

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.