Fix linting issues

This commit is contained in:
rasmusvt 2022-04-07 15:39:07 +02:00
parent de8c0ab8d5
commit 3d99af9a7a
3 changed files with 5 additions and 52 deletions

View file

@ -151,9 +151,9 @@ def adjust_plot(fig, ax, options):
# FIXME THIS NEEDS REWORK FOR IT TO FUNCTION PROPERLY!
if options['xticks']:
ax.set_xticks(np.arange(plot_data['start'], plot_data['end']+1))
ax.set_xticklabels(options['xticks'])
#if options['xticks']:
# ax.set_xticks(np.arange(plot_data['start'], plot_data['end']+1))
# ax.set_xticklabels(options['xticks'])
# else:
# ax.set_xticks(np.arange(plot_data['start'], plot_data['end']+1))
# ax.set_xticklabels([x/2 for x in np.arange(plot_data['start'], plot_data['end']+1)])