@@ -24,6 +24,65 @@ revision, see the :ref:`github-stats`.
24
24
New in Matplotlib 2.1
25
25
=====================
26
26
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
+
27
86
New TransformedPatchPath caching object
28
87
---------------------------------------
29
88
0 commit comments