Skip to content
New issue

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

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

Already on GitHub? # to your account

Multi-line ptable_scatter_plotly #260

Merged
merged 4 commits into from
Dec 16, 2024
Merged

Conversation

janosh
Copy link
Owner

@janosh janosh commented Dec 16, 2024

homo-nuclear-mace-medium

…able_scatter_plotly

- add y_axis_kwargs to ptable_hists_plotly for customizing y-axis
- add handling of empty row 7 to moving later rows up in periodic table plots
- move axis tick inside for better layout/less overlap with neighbor subplots
- introduce ElemData type alias for readability
- update data parameter to accept both single and multiple lines per element.
- enhance hover text formatting to include line names for multi-line plots
- add logic to manage color assignments for multiple lines and improved legend handling
- update tests to cover new multi-line functionality and various input scenarios, including empty data and mixed types
@janosh janosh added enhancement Improvement to existing features/functionality plotly Concerning plotly-powered functions ptable Periodic table labels Dec 16, 2024
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
@janosh janosh enabled auto-merge (squash) December 16, 2024 02:37
@janosh janosh merged commit 4ef9e17 into main Dec 16, 2024
51 checks passed
@janosh janosh deleted the multi-line-ptable-scatter-plotly branch December 16, 2024 02:40
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement Improvement to existing features/functionality plotly Concerning plotly-powered functions ptable Periodic table
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant