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

Add support for merged plots. #222

Merged
merged 7 commits into from Aug 21, 2023
Merged

Add support for merged plots. #222

merged 7 commits into from Aug 21, 2023

Conversation

achoum
Copy link
Collaborator

@achoum achoum commented Aug 15, 2023

Event-set passed in tuples are plotted together.

Example:

tp.plot([
evset_1, # Plot each feature of “evset_1” individually
(evset_1,), # Plot all the features of “evset_1” together
(evset_1[["a", "b"]], evset_2[“c”]), # Plot “a” and “b” from “evset_1”, and “c” from evset_2 together.
])

@achoum achoum marked this pull request as ready for review August 15, 2023 12:55
@DonBraulio DonBraulio mentioned this pull request Aug 16, 2023
4 tasks
Copy link
Collaborator

@DonBraulio DonBraulio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool 🙌
Didn't fully review in-depth but left some comments.

temporian/implementation/numpy/data/plotter.py Outdated Show resolved Hide resolved
temporian/implementation/numpy/data/plotter.py Outdated Show resolved Hide resolved
temporian/implementation/numpy/data/plotter.py Outdated Show resolved Hide resolved
@achoum
Copy link
Collaborator Author

achoum commented Aug 18, 2023

Thanks :)

@achoum achoum merged commit 0864617 into main Aug 21, 2023
13 checks passed
@achoum achoum deleted the gbm_plot branch August 21, 2023 10:53
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

Successfully merging this pull request may close these issues.

None yet

2 participants