Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitcda498c

Browse files
committed
FIX: colorbar re-check norm before draw for autolabels
1 parent627a281 commitcda498c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/matplotlib/colorbar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ def tick_values(self, vmin, vmax):
302302
=======
303303
ticks=ticker.LogLocator.tick_values(self,vmin,vmax)
304304
rtol= (np.log10(vmax)-np.log10(vmin))*1e-10
305-
ticks=ticks[(np.log10(ticks)>=np.log10(vmin)-rtol)&
305+
ticks=ticks[(np.log10(ticks)>=np.log10(vmin)-rtol)&
306306
(np.log10(ticks)<=np.log10(vmax)+rtol)]
307307
returnticks
308308
>>>>>>>MNT:addtolerancetocolorbarlocatormethods

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp