We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 002f81d commit 40462e2Copy full SHA for 40462e2
src/pownet/core/visualizer.py
@@ -116,7 +116,7 @@ def plot_fuelmix_area(
116
bbox_to_anchor=(0.5, -0.12),
117
)
118
ax.set_ylabel("Power (MW)")
119
- ax.set_ylim(top=(demand[:total_timesteps].max() * 1.30).values[0])
+ ax.set_ylim(top=(demand[:total_timesteps].max() * 1.30))
120
121
if output_folder is not None:
122
figure_name = f"{self.model_id}_fuelmix.png"
0 commit comments