Skip to content

Commit

Permalink
change titles of second row
Browse files Browse the repository at this point in the history
  • Loading branch information
vinferrer committed Mar 17, 2020
1 parent d1beff1 commit 3299e75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phys2bids/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def ntr2time(x):
ax2.set_xlabel('TR')
subplot.plot(time, trigger, '-', time, block, '-')
subplot.fill_between(time, block, where=block >= d, interpolate=True, color='#ffbb6e')
ax2.set_title('Initial trigger for selected threshold')
ax2.set_title('Starting triggers for selected threshold')
# plot the last spike according to the user threshold
subplot = fig.add_subplot(224)
subplot.set_xlim([tr * (num_timepoints_expected) - 4,
Expand All @@ -107,7 +107,7 @@ def ntr2time(x):
pad=15)
subplot.secondary_xaxis('top', functions=(time2ntr, ntr2time))
ax2.set_xlabel('TR')
ax2.set_title('Last trigger for selected threshold')
ax2.set_title('Ending triggers for selected threshold')
subplot.plot(time, trigger, '-', time, block, '-')
subplot.fill_between(time, block, where=block >= d, interpolate=True, color='#ffbb6e')
plt.savefig(fileprefix + '_trigger_time.png', dpi=dpi)
Expand Down

0 comments on commit 3299e75

Please sign in to comment.