Skip to content

Commit

Permalink
Fix stupid error in wrappers (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshnielsen committed Jul 3, 2017
1 parent af01a96 commit 4757456
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qcodes/utils/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ def _create_plot(plot, i, name, data, counter_two, j, k):
rasterized = xlen*ylen > 5000
plot.add(inst_meas_data, subplot=j + k + 1, rasterized=rasterized)
else:
rasterized = False
plot.add(inst_meas_data, subplot=j + k + 1, color=color)
plot.subplots[j + k].grid()
if j == 0:
Expand Down Expand Up @@ -196,6 +197,7 @@ def _create_plot(i, name, data, counter_two):
rasterized = xlen * ylen > 5000
plot.add(inst_meas_data, rasterized=rasterized)
else:
rasterized = False
plot.add(inst_meas_data, color=color)
plot.subplots[0].grid()
if rasterized:
Expand Down

0 comments on commit 4757456

Please sign in to comment.