File tree 1 file changed +3
-3
lines changed
Filter options
1 file changed +3
-3
lines changed
Original file line number Diff line number Diff line change @@ -161,13 +161,13 @@ def draw(self) -> None:
161
161
for i , c in enumerate ("rgb" ):
162
162
self .axes .hist (
163
163
data [..., i ].ravel (),
164
- bins = bins .tolist (), # type: ignore[arg-type]
164
+ bins = bins .tolist (),
165
165
label = c ,
166
166
histtype = "step" ,
167
167
color = _COLORS [c ],
168
168
)
169
169
else :
170
- self .axes .hist (data .ravel (), bins = bins .tolist (), label = layer .name ) # type: ignore[arg-type]
170
+ self .axes .hist (data .ravel (), bins = bins .tolist (), label = layer .name )
171
171
172
172
self ._contrast_lines = [
173
173
self .axes .axvline (lim , color = "white" )
@@ -297,7 +297,7 @@ def draw(self) -> None:
297
297
298
298
bins = _get_bins (data )
299
299
300
- _ , bins , patches = self .axes .hist (data , bins = bins .tolist ()) # type: ignore[arg-type]
300
+ _ , bins , patches = self .axes .hist (data , bins = bins .tolist ())
301
301
patches = cast (BarContainer , patches )
302
302
303
303
# recolor the histogram plot
You can’t perform that action at this time.
0 commit comments