Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "#7625 fix python NanoPlot problems" #7659

Merged
merged 7 commits into from
Jul 5, 2018
Merged
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