Skip to content

Commit 572ff29

Browse files
authored
Merge pull request #72 from lucasb-eyer/lb-grid-linewidth
line-width was missing from gridlines.
2 parents cfbe09f + 0a3606b commit 572ff29

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mplexporter/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,11 @@ def get_grid_style(axis):
292292
color = export_color(gridlines[0].get_color())
293293
alpha = gridlines[0].get_alpha()
294294
dasharray = get_dasharray(gridlines[0])
295+
linewidth = gridlines[0].get_linewidth()
295296
return dict(gridOn=True,
296297
color=color,
297298
dasharray=dasharray,
299+
linewidth=linewidth,
298300
alpha=alpha)
299301
else:
300302
return {"gridOn": False}

0 commit comments

Comments
 (0)