Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plot tubes horizontally #281

Open
hyanwong opened this issue Jun 8, 2024 · 3 comments
Open

Plot tubes horizontally #281

hyanwong opened this issue Jun 8, 2024 · 3 comments

Comments

@hyanwong
Copy link

hyanwong commented Jun 8, 2024

Is there any way to draw a tubes plot left-to-right rather than top-to-bottom? I'm wanting to compare e.g. population sizes (on the Y) with time (on the X), so it would be nice to be able to draw the tube plot as the top panel of a subplot, and have a bottom panel that can share the X-axis with the tube plot

@grahamgower
Copy link
Owner

I thought there was a way to do something like this with matplotlib, but I've searched a little and have come up blank. Sorry. I guess it would require careful modification of all the plotting code and coordinate calculations in order to implement this properly.

I've got a vague memory of @mufernando asking about this once too - did I imagine this? Did you come up with any solution?

@mufernando
Copy link

No, this seemed really hard to do with matplotlib...

@hyanwong
Copy link
Author

hyanwong commented Jun 9, 2024

No, this seemed really hard to do with matplotlib...

Yeah, that was the conclusion I came to too. Damn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants