Skip to content

Commit 453dd7b

Browse files
committed
Fix lint issues kernc#356
1 parent 420c259 commit 453dd7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backtesting/_plotting.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -620,9 +620,9 @@ def __eq__(self, other):
620620
if plot_volume:
621621
custom_js_args.update(volume_range=fig_volume.y_range)
622622
indicator_ranges = {}
623-
for idx,(indicator,indicator_idx) in enumerate(zip(indicator_figs, non_overlay_indicator_idxs)):
623+
for idx, (indicator, indicator_idx) in enumerate(zip(indicator_figs, non_overlay_indicator_idxs)):
624624
indicator_range_key = f'indicator_{indicator_idx}_range'
625-
indicator_ranges.update({indicator_range_key:indicator.y_range})
625+
indicator_ranges.update({indicator_range_key: indicator.y_range})
626626
custom_js_args.update({'indicator_ranges': indicator_ranges})
627627
fig_ohlc.x_range.js_on_change('end', CustomJS(args=custom_js_args,
628628
code=_AUTOSCALE_JS_CALLBACK))

0 commit comments

Comments
 (0)