Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 815bdb6

Browse files
committed
Add line
1 parent 4034448 commit 815bdb6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/colorbar.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -891,6 +891,7 @@ def add_lines(self, levels, colors, linewidths, erase=True):
891891
self.lines = []
892892
self.lines.append(col)
893893
col.set_color(colors)
894+
col.set_clip_on(False)
894895
self.ax.add_collection(col)
895896
self.stale = True
896897

0 commit comments

Comments
 (0)