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

Skip to content

Commit 380fe29

Browse files
committed
BUG : minimal fix for date x-values in stem plots
closes #2602
1 parent 631b4dc commit 380fe29

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
2014-04-27 Improved input clean up in Axes.{h|v}lines
99
Coerce input into a 1D ndarrays (after dealing with units).
1010

11+
2014-04-27 removed un-needed cast to float in stem
12+
1113
2014-04-22 Added an example showing the difference between
1214
interpolation = 'none' and interpolation = 'nearest' in
1315
`imshow()` when saving vector graphics files.
@@ -18,6 +20,10 @@
1820
2014-04-08 Fixed a bug in parasite_axes.py by making a list out
1921
of a generator at line 263.
2022

23+
2014-02-25 In backend_qt4agg changed from using update -> repaint under
24+
windows. See comment in source near `self._priv_update` for
25+
longer explaination.
26+
2127
2014-03-27 Added tests for pie ccw parameter. Removed pdf and svg images
2228
from tests for pie linewidth parameter.
2329

lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2263,7 +2263,7 @@ def stem(self, *args, **kwargs):
22632263
self.hold(True)
22642264

22652265
# Assume there's at least one data array
2266-
y = np.asarray(args[0], dtype=np.float)
2266+
y = np.asarray(args[0])
22672267
args = args[1:]
22682268

22692269
# Try a second one

0 commit comments

Comments
 (0)