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

Prototype demonstrating possible px.overlay #2868

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

nicholas-esterer
Copy link
Contributor

NOT meant to be merged like this, just showing what such a call might look like.
Also see #2648

reflows colors, changes adds figure titles to legend names to
differentiate the source figures in the final plot, includes all
annotation-like objects in the final plot.
Argument and logic is there, but not yet tested. It doesn't break the
case where px_combine was called with fig1_secondary_y=False.
Cannot yet copy annotation-like things to the final plot as we need to
find out which row and column in the subplots they are referring to.
@nicholas-esterer nicholas-esterer changed the title Prototype demonstrating possible px.combine Prototype demonstrating possible px.overlay Nov 6, 2020
to a subplot on a new figure. This will allow us to copy the annotations
to a new figure with more axes as part of a px.overlay command.

This just needs to be generalized to work with shapes and images but the
workings can be seen in proto/px_overlay/map_axis_pair_example.py.
It works but it seems the "start_cell" argument of make_subplots has not
been taken into consideration. Also sometimes it adds annotations twice?
look in `proto/px_overlay/README.md` for more information.
@gvwilson gvwilson self-assigned this Jun 18, 2024
@gvwilson gvwilson removed their assignment Aug 2, 2024
@gvwilson gvwilson added feature something new P2 considered for next cycle community community contribution labels Aug 12, 2024
@ndrezn ndrezn marked this pull request as draft August 23, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community community contribution feature something new P2 considered for next cycle
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants