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

Commitdaa36a2

Browse files
authored
fix linting error
1 parent9b16079 commitdaa36a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎lib/matplotlib/_constrained_layout.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -740,13 +740,13 @@ def reposition_colorbar(layoutgrids, cbax, renderer, *, offset=None, compress=Fa
740740
actual_pos_fig=actual_pos.transformed(fig.transSubfigure-fig.transFigure)
741741

742742
iflocationin ('left','right'):
743-
# For vertical colorbars, use the actual parent bbox height
743+
# For vertical colorbars, use the actual parent bbox height
744744
# for colorbar sizing
745745
# Keep the pb x-coordinates but use actual y-coordinates
746746
pb=Bbox.from_extents(pb.x0,actual_pos_fig.y0,
747747
pb.x1,actual_pos_fig.y1)
748748
eliflocationin ('top','bottom'):
749-
# For horizontal colorbars, use the actual parent bbox width
749+
# For horizontal colorbars, use the actual parent bbox width
750750
# for colorbar sizing
751751
# Keep the pb y-coordinates but use actual x-coordinates
752752
pb=Bbox.from_extents(actual_pos_fig.x0,pb.y0,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp