Skip to content

Commit

Permalink
Revert "#7625 fix python NanoPlot problems (#7649)"
Browse files Browse the repository at this point in the history
This reverts commit 3d95e61.
  • Loading branch information
scottdraves committed Jul 5, 2018
1 parent 99d91fe commit dfd5a25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion beakerx/beakerx/plot/chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,8 +442,8 @@ def __init__(self, **kwargs):

def add(self, item):
super(NanoPlot, self).add(item)
converted = []
for l in self.chart.graphics_list:
converted = []
for x in l.x:
converted.append(str(x))
l.x = converted
Expand Down
2 changes: 1 addition & 1 deletion js/notebook/src/plot/plotUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ define([
datarange.xl = datarange.xr - 1;
} else if (datarange.xr === -Infinity && datarange.xl !== Infinity) {
datarange.xr = datarange.xl + 1;
} else if (visibleItem === 0 || visibleItem === 1 || datarange.xl === Infinity) {
} else if (visibleItem === 0 || datarange.xl === Infinity) {
datarange.xl = 0;
datarange.xr = 1;
} else if (datarange.xl > datarange.xr) {
Expand Down

0 comments on commit dfd5a25

Please sign in to comment.