Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e10954c

Browse filesBrowse files
committed
FIX: properly set x/y limits
1 parent 859e42f commit e10954c
Copy full SHA for e10954c

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎lib/matplotlib/colorbar.py

Copy file name to clipboardExpand all lines: lib/matplotlib/colorbar.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,7 @@ def _config_axes(self, X, Y):
594594
ax.set_frame_on(False)
595595
ax.set_navigate(False)
596596
xy = self._outline(X, Y)
597+
ax.ignore_existing_data_limits = True
597598
ax.update_datalim(xy)
598599
ax.set_xlim(*ax.dataLim.intervalx)
599600
ax.set_ylim(*ax.dataLim.intervaly)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.