Skip to content

Commit 676be8b

Browse files
committed
Merge pull request matplotlib#2149 from tacaswell/volume_overlay_fix
added `add_collection` call to `finance.volume_overlay`
2 parents 004e3f3 + e70f1db commit 676be8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/finance.py

+1
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,7 @@ def volume_overlay(ax, opens, closes, volumes,
573573
linewidths = (0.5,),
574574
)
575575

576+
ax.add_collection(barCollection)
576577
corners = (0, 0), (len(bars), max(volumes))
577578
ax.update_datalim(corners)
578579
ax.autoscale_view()

0 commit comments

Comments
 (0)