Skip to content

Labels overlap whan sharing axis #64

@Ale-Rossi

Description

@Ale-Rossi

I tried to use plt.subplots to plot multiple sequences in a single figure, using the option sharex=True in order to keep the same scale for all the sequences.
This means that shorter sequences get "squeezed" when drawn, and labels are closer together than they would be if they didn't share the x axis with the longer sequences. This is not taken into account and labels end up overlapping.

overlapping_labels

Thank you for your attention and thank you for this package, it is very well made and I really like the approach to coding shown in the documentation.

Please find attached the code and data used to generate this example.

overlapping_labels.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions