[interpolatablePlot] Fix show-page-numbers
This commit is contained in:
parent
4f895ccc60
commit
0f3fe7876b
@ -575,15 +575,15 @@ class InterpolatablePlot:
|
|||||||
self.draw_shrug(x=x, y=y)
|
self.draw_shrug(x=x, y=y)
|
||||||
y += self.height + self.pad
|
y += self.height + self.pad
|
||||||
|
|
||||||
if show_page_number:
|
if show_page_number:
|
||||||
self.draw_label(
|
self.draw_label(
|
||||||
str(self.page_number),
|
str(self.page_number),
|
||||||
x=0,
|
x=0,
|
||||||
y=self.total_height() - self.line_height,
|
y=self.total_height() - self.line_height,
|
||||||
width=self.total_width(),
|
width=self.total_width(),
|
||||||
color=self.head_color,
|
color=self.head_color,
|
||||||
align=0.5,
|
align=0.5,
|
||||||
)
|
)
|
||||||
|
|
||||||
def draw_label(
|
def draw_label(
|
||||||
self,
|
self,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user