File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ def check_update_trace_data(
186
186
hf_series : pd .Series = hf_trace_data ["hf_series" ]
187
187
start = hf_series .index [0 ] if start is None else start
188
188
end = hf_series .index [- 1 ] if end is None else end
189
- if isinstance ( hf_series .index , ( pd . Int64Index , pd . UInt64Index ) ):
189
+ if hf_series .index . is_integer ( ):
190
190
start = round (start )
191
191
end = round (end )
192
192
@@ -293,7 +293,7 @@ def check_update_figure_dict(
293
293
xaxis_filter_short = "x" + xaxis_filter .lstrip ("xaxis" )
294
294
295
295
if updated_trace_indices is None :
296
- updated_trace_indices = []
296
+ updated_trace_indices = []
297
297
298
298
for idx , trace in enumerate (figure ["data" ]):
299
299
# We skip when the trace-idx already has been updated.
You can’t perform that action at this time.
0 commit comments