diff --git a/mplexporter/utils.py b/mplexporter/utils.py index f9467d7..3702e08 100644 --- a/mplexporter/utils.py +++ b/mplexporter/utils.py @@ -268,9 +268,11 @@ def get_grid_style(axis): color = export_color(gridlines[0].get_color()) alpha = gridlines[0].get_alpha() dasharray = get_dasharray(gridlines[0]) + linewidth = gridlines[0].get_linewidth() return dict(gridOn=True, color=color, dasharray=dasharray, + linewidth=linewidth, alpha=alpha) else: return {"gridOn": False}