Skip to content

Commit 4efca09

Browse files
authored
Merge pull request #8492 from anntzer/remove-useless-check-in-hist
MNT: Remove unused local variable in hist()
2 parents 249f7bb + f3294dd commit 4efca09

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6174,9 +6174,6 @@ def hist(self, x, bins=None, range=None, normed=False, weights=None,
61746174
if len(color) != nx:
61756175
raise ValueError("color kwarg must have one color per dataset")
61766176

6177-
# Save the datalimits for the same reason:
6178-
_saved_bounds = self.dataLim.bounds
6179-
61806177
# If bins are not specified either explicitly or via range,
61816178
# we need to figure out the range required for all datasets,
61826179
# and supply that to np.histogram.

0 commit comments

Comments
 (0)