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

Fix PlotGrid grid row ordering #61

Merged
merged 2 commits into from
Jan 29, 2021
Merged

Conversation

ArtificialPB
Copy link
Contributor

Previous implementation did not sort the map by keys, occasionally causing random row order. New implementation sorts the intermediary map by its keys (rows) in ascending order to have consistent ordering.

Previous implementation did not sort the map by keys, occasionally causing random row order.
New implementation sorts the intermediary map by its keys (rows) in ascending order.
Copy link
Member

@altavir altavir left a comment

Choose a reason for hiding this comment

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

Thanks a lot. I think in the future, the layouts in Plotly.kt will be discontinued in favor of more feature-reach support in VisionForge-plotly. But I can't set any precise timescale for it.

@altavir altavir merged commit 7b4e446 into SciProgCentre:dev Jan 29, 2021
@ArtificialPB
Copy link
Contributor Author

Good to know. Current plot layouts are a bit clumsy.

I assume, at the moment, the recommended way to layout plots is to use kotlinx/html elements directly?

@altavir
Copy link
Member

altavir commented Jan 29, 2021

Indeed. It is much simpler.

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.

2 participants