Skip to content

Share axes between subplots #821

Description

@asmunder

I'm using fastplotlib to visualize a set of timeseries that has a few hundred sensors measuring two distinct variables with different units. This works fine with two scatter subplots stacked vertically, one for each variable.

Since the x-axis has identical range between my subplots (but the y-axis is very different), it would be really nice to have a linked pan/zoom/etc. between them. This corresponds exactly to the "sharex" (or "sharey") arguments that can be passed to plt.subplots() in matplotlib.

Is there a way to achieve this in the current version of fastplotlib?

I'm also interested to know if there is a way to get something resembling timestamps on the x-axis (but I would guess this is future work).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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