Skip to content

Commit

Permalink
Revert "#7625 fix python NanoPlot problems" (#7659)
Browse files Browse the repository at this point in the history
* Revert "document image format for tables"

This reverts commit 8921146.

* Revert "#7641 Java API for ImageFormat  (#7657)"

This reverts commit b4393a3.

* Revert "#7642 fix font in lab (#7655)"

This reverts commit 290f7ea.

* Revert "document autotranslation SQL to python and groovy"

This reverts commit b892c94.

* Revert "#7644 fix spark status toolbar indicators change size on nb switch (#7647)"

This reverts commit 401e0b2.

* Revert "#7614 fix spark progress in lab missing curved corner (#7648)"

This reverts commit 910e390.

* Revert "#7625 fix python NanoPlot problems (#7649)"

This reverts commit 3d95e61.
  • Loading branch information
scottdraves committed Jul 5, 2018
1 parent 8921146 commit 0e49909
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 0e49909

Please sign in to comment.