Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cfc6fec

Browse files
committed
Plot: Reduce volume chart height 90->70px
1 parent cd15caf commit cfc6fec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎backtesting/_plotting.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,8 @@ def _plot_pl_section():
437437

438438
def _plot_volume_section():
439439
"""Volume section"""
440-
fig = new_indicator_figure(y_axis_label="Volume")
440+
fig = new_indicator_figure(height=70, y_axis_label="Volume")
441+
fig.yaxis.ticker.desired_num_ticks = 3
441442
fig.xaxis.formatter = fig_ohlc.xaxis[0].formatter
442443
fig.xaxis.visible = True
443444
fig_ohlc.xaxis.visible = False # Show only Volume's xaxis

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /