Skip to content

Commit

Permalink
fix minor interval var in plotting #346
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwengers committed Nov 15, 2024
1 parent 5e7f09f commit 6332cfd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bakta/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,9 @@ def build_sequence_backbone_track(sector, outer_track, total_sequence_length, co
elif total_sequence_length >= 1_000:
major_interval = 1_000
minor_interval = int(major_interval / 10)
else:
major_interval = 100
minor_interval = int(major_interval / 10)

if plot_size == 4:
text_size = 4
Expand Down

0 comments on commit 6332cfd

Please sign in to comment.