Skip to content

Commit cf43afb

Browse files
Fixed NameError in bar_chart.py.
1 parent 1f7d675 commit cf43afb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

intermine/bar_chart.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,11 @@ def query_to_barchart_log(xml, resp):
236236

237237
ax = y.plot(kind='bar')
238238
ax.set_title(list[0][0])
239-
ax.set_xlabel(l[1])
239+
ax.set_xlabel(store[1])
240240
if resp == 'true':
241-
ax.set_ylabel('log(' + l[2] + ')')
241+
ax.set_ylabel('log(' + store[2] + ')')
242242
else:
243-
ax.set_ylabel(l[2])
243+
ax.set_ylabel(store[2])
244244
ax.set_xticklabels(x, rotation='vertical')
245245

246246
rects = ax.patches

0 commit comments

Comments
 (0)