File tree 3 files changed +15
-1
lines changed
lib/matplotlib/projections 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 33
33
the managemnet of the xlimits and ticks when making a boxplot.
34
34
Default in True which maintains current behavior by default.
35
35
36
+ 2014-03-23 Fixed a bug in projections/polar.py by making sure that the theta
37
+ value being calculated when given the mouse coordinates stays within
38
+ the range of 0 and 2 * pi.
39
+
36
40
2014-03-22 Added the keyword arguments wedgeprops and textprops to pie.
37
41
Users can control the wedge and text properties of the pie
38
42
in more detail, if they choose.
46
50
2014-02-28 Added 'origin' kwarg to `spy`
47
51
48
52
2014-02-27 Implemented separate horizontal/vertical axes padding to the
49
- ImageGrid in the AxesGrid toolkit
53
+ ImageGrid in the AxesGrid toolkit
50
54
51
55
2014-02-27 Allowed markevery property of matplotlib.lines.Line2D to be, an int
52
56
numpy fancy index, slice object, or float. The float behaviour
Original file line number Diff line number Diff line change @@ -182,6 +182,15 @@ shows markers at approximately equal display-coordinate-distances along the
182
182
line.
183
183
184
184
185
+ Fixed the mouse coordinates giving the wrong theta value in Polar graph
186
+ ```````````````````````````````````````````````````````````````````````
187
+ Added code to
188
+ :funct: `~matplotlib.InvertedPolarTransform.transform_non_affine `
189
+ to ensure that the calculated theta value was between the range of 0 and 2 * pi
190
+ since the problem was that the value can become negative after applying the
191
+ direction and rotation to the theta calculation.
192
+
193
+
185
194
Date handling
186
195
-------------
187
196
Original file line number Diff line number Diff line change @@ -151,6 +151,7 @@ def transform_non_affine(self, xy):
151
151
152
152
theta -= theta_offset
153
153
theta *= theta_direction
154
+ theta %= 2 * np .pi
154
155
155
156
r += rmin
156
157
You can’t perform that action at this time.
0 commit comments