Private
Public Access
1
0

bugfix loading nonexisting thumbnails

This commit is contained in:
Sander Roosendaal
2018-03-12 08:14:32 +01:00
parent 441d5bd39f
commit 4f006e828e

View File

@@ -3306,8 +3306,14 @@ def thumbnail_flex_chart(rowdata,id=0,promember=0,
plot.scatter('x1','y1',source=source,fill_alpha=0.4,
line_color=None)
plot.xaxis.axis_label = axlabels[xparam]
plot.yaxis.axis_label = axlabels[yparam1]
try:
plot.xaxis.axis_label = axlabels[xparam]
except KeyError:
plot.xaxis.axis_label = 'X'
try:
plot.yaxis.axis_label = axlabels[yparam1]
except KeyError:
plot.yaxis.axis_label = 'Y'