Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .docs/Notebooks/zonebudget_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,11 @@ def volumetric_budget_bar_plot(values_in, values_out, labels, **kwargs):
else:
ax = plt.gca()

# the values are indexed by position below, and a series passed in is
# indexed by zone name, so the values are taken out of the series
values_in = np.asarray(values_in)
values_out = np.asarray(values_out)

x_pos = np.arange(len(values_in))
rects_in = ax.bar(x_pos, values_in, align="center", alpha=0.5)

Expand Down
Loading