diff --git a/LICENSE b/LICENSE index e64335a..32cace1 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2017 arraystream +Copyright (c) 2017 ArrayStream Technologies Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/weplot/figure.py b/weplot/figure.py index aca95f7..8cabda2 100644 --- a/weplot/figure.py +++ b/weplot/figure.py @@ -1,4 +1,3 @@ -import copy import itertools import plotly @@ -118,7 +117,7 @@ def build_subplot(self, print_grid=True, **kwargs): for idx, builder in enumerate(self.builders): spec = self.canvas.specs[idx] - fig.append_trace(copy.deepcopy(builder.data), spec.r, spec.c) + fig.append_trace(builder.data, spec.r, spec.c) holder = FigureHolder(go.Figure(data=fig.data, layout=fig.layout)) holder.update_layout(**self.layout) @@ -129,7 +128,7 @@ def subplot(self, row=None, col=None, print_grid=True, **kwargs): if col is not None and row is not None: new_builder = FigureBuilder() new_builder.builders = self.builders - new_builder.layout = copy.deepcopy(self.layout) + new_builder.layout = self.layout new_builder.canvas = canvas_from_specs(itertools.product(range(1, row + 1), range(1, col + 1))) new_builder.build_subplot(print_grid=print_grid, **kwargs).plot() else: