Skip to content

Commit

Permalink
Layer 1 is hidden by default
Browse files Browse the repository at this point in the history
  • Loading branch information
psilentp committed Sep 15, 2018
1 parent 30c7387 commit 0d57dae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions figurefirst/svg_to_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ class FigureLayout(object):
invisible (e.g. your template layers) construct an object that specifies the figure layout fom the svg file layout_filename.
"""

def __init__(self, layout_filename, autogenlayers=True,make_mplfigures = False, dpi=300, hide_layers=[]):
def __init__(self, layout_filename, autogenlayers=True,make_mplfigures = False, dpi=300, hide_layers=['Layer 1']):
self.dpi = dpi # should be 300 for print figures
self.autogenlayers = autogenlayers
self.layout_filename = layout_filename
Expand Down Expand Up @@ -1288,4 +1288,4 @@ def make_breadcrumbs_for_axes(self):
breadcrumb_copy = copy.deepcopy(breadcrumb)
key_copy = (k for k in key)
breadcrumb_copy['layout_key'] = tuple(key_copy)
axis.breadcrumb = breadcrumb_copy
axis.breadcrumb = breadcrumb_copy

0 comments on commit 0d57dae

Please sign in to comment.