Skip to content

Commit

Permalink
#7625 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
piorek committed Jul 19, 2018
1 parent cee54df commit 3c622ce
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions beakerx/beakerx/plot/chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,11 +442,15 @@ def __init__(self, **kwargs):

def add(self, item):
super(NanoPlot, self).add(item)
converted = []
convertedx = []
convertedy = []
for l in self.chart.graphics_list:
for x in l.x:
converted.append(str(x))
l.x = converted
convertedx.append(str(x))
l.x = convertedx
for y in l.y:
convertedy.append(str(y))
l.y = convertedy
self.model = self.chart.transform()
return self

Expand Down

0 comments on commit 3c622ce

Please sign in to comment.