Skip to content

Conversation

@chschan
Copy link
Contributor

@chschan chschan commented May 28, 2025

Remove ggplot2 which originally was used to create the spline plot and then converted to plotly. This is needed because the the conversion code does not work with latest version of ggplot which is currently pinned and prevents another package requested by a user from being installed. Instead we directly create the spline plot in plotly. Note that the code for computing the mean, confidence interval and sampling draws has not changed, only the plotting code.

There is some difference in the new spline plots in that the font sizes has changed, but this now makes it consistent with the Bar/Column/Area charts, and we can add font controls to the javascript controls if it is requested

Old:
image

New:
image

@chschan chschan requested a review from JustinCCYap June 10, 2025 03:50
@JustinCCYap
Copy link
Contributor

@chschan the second screenshot does not show the tooltips? Could you provide a screenshot of the tooltip?

@chschan
Copy link
Contributor Author

chschan commented Jun 10, 2025

Tooltips:
image

image

Copy link
Contributor

@JustinCCYap JustinCCYap left a comment

Choose a reason for hiding this comment

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

LGTM

@chschan chschan merged commit 4a0b8d6 into master Jun 10, 2025
3 of 4 checks passed
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.

3 participants