Skip to content

Commit 8a4881a

Browse files
committed
LINT: Long lines
1 parent 2829d52 commit 8a4881a

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

plotnine/_mpl/_plotnine_tight_layout.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,16 @@ def set_figure_artist_positions(
171171
if pack.plot_caption:
172172
ha = theme.getp(("plot_caption", "ha"), "right")
173173
pack.plot_caption.set_y(sides.b.edge("plot_caption"))
174-
horizontally_align_text_with_panels(pack.plot_caption, params, ha, pack)
174+
horizontally_align_text_with_panels(
175+
pack.plot_caption, params, ha, pack
176+
)
175177

176178
if pack.axis_title_x:
177179
ha = theme.getp(("axis_title_x", "ha"), "center")
178180
pack.axis_title_x.set_y(sides.b.edge("axis_title_x"))
179-
horizontally_align_text_with_panels(pack.axis_title_x, params, ha, pack)
181+
horizontally_align_text_with_panels(
182+
pack.axis_title_x, params, ha, pack
183+
)
180184

181185
if pack.axis_title_y:
182186
va = theme.getp(("axis_title_y", "va"), "center")

plotnine/_mpl/patches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class InsideStrokedRectangle(Rectangle):
8181
@artist.allow_rasterization
8282
def draw(self, renderer):
8383
"""
84-
Draw with the bounds of the rectangle adjusted to accommodate the stroke
84+
Draw with the bounds of the rectangle adjusted to contain the stroke
8585
"""
8686
x, y = self.xy
8787
w, h = self.get_width(), self.get_height()

0 commit comments

Comments
 (0)