Skip to content

Commit

Permalink
Merge pull request #894 from AntoineTheb/atheb/fix_connectivity_visua…
Browse files Browse the repository at this point in the history
…lize

FIX: scil_visualize_connectivity text rotation
  • Loading branch information
arnaudbore authored Feb 13, 2024
2 parents 2de137c + 325271f commit 82b98a1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/scil_visualize_connectivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,13 @@ def main():
logging.warning('Legend is not the same size as the data.'
'Make sure you are using the same reordering '
'json.')

plt.xticks(x_ticks, x_legend,
rotation=args.axis_text_angle[0],
rotation=int(args.axis_text_angle[0]),
ha='right',
fontsize=args.axis_text_size[0])
plt.yticks(y_ticks, y_legend,
rotation=args.axis_text_angle[1],
rotation=int(args.axis_text_angle[1]),
fontsize=args.axis_text_size[1])

if args.show_only:
Expand Down

0 comments on commit 82b98a1

Please sign in to comment.