Skip to content

Commit

Permalink
Add yaxis2 title
Browse files Browse the repository at this point in the history
  • Loading branch information
simnh committed Feb 28, 2019
1 parent 061d512 commit 3255eb8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/oemof/tabular/tools/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@ def hourly_plot(
)
),
yaxis2= dict(
title='Energy in MWh',
overlaying='y',
range=[0, filling_levels.max()],
range=[0, filling_levels.max()*1.05],
rangemode="tozero",
autorange=True,
side='right',
Expand Down

0 comments on commit 3255eb8

Please sign in to comment.