Skip to content

Commit 912206b

Browse files
author
bsherwood
committed
Oops. Correct error in label border introduced in testing.
1 parent a9b2106 commit 912206b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎site-packages/vis/graph.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def __init__(self, x=0, y=0, width=800, height=400,
207207

208208
label(display=self.display, pos=(0,0,0), text=zerotexty,
209209
color=self.foreground, visible=False,
210-
font=graphfont, height=fontheight, border=-2,
210+
font=graphfont, height=fontheight, border=2,
211211
xoffset=-tmajor, linecolor=grey, box=0, opacity=0)]
212212

213213
self.axis = [[None, None], [None, None]]
@@ -269,7 +269,7 @@ def __init__(self, x=0, y=0, width=800, height=400,
269269
linecolor=grey, visible=False, box=False, opacity=0))
270270
else:
271271
self.majorticks[axis][axissign].append(label(display=self.display, xoffset=-tmajor,
272-
font=graphfont, height=fontheight, border=-2,
272+
font=graphfont, height=fontheight, border=2,
273273
linecolor=grey, visible=False, box=False, opacity=0))
274274

275275
for axis in range(2):

0 commit comments

Comments
 (0)