Skip to content

Commit

Permalink
responsive width for dispatch plot blue-marble#822
Browse files Browse the repository at this point in the history
  • Loading branch information
nmgeek committed Sep 9, 2021
1 parent 8cc7813 commit b76038f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions viz/dispatch_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,9 +409,9 @@ def create_plot(df, title, power_unit, tech_colors={}, tech_plotting_order={},
# Set up the figure
plot = figure(
plot_width=800, plot_height=500,
tools=["pan", "reset", "zoom_in", "zoom_out", "save", "help"],
# tools=["pan", "reset", "zoom_in", "zoom_out", "save", "help"],
title=title,
# sizing_mode="scale_both"
sizing_mode='stretch_width',
)

# Add stacked area chart to plot
Expand Down

0 comments on commit b76038f

Please sign in to comment.