Fix colormap issue by updating plot-publisher dependency #78
+1,458
−1,181
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Short description of the changes:
Updates the
plot-publisherdependency from>=1.0,<2.0to>=1.1.0.dev1,<2.0to address the colormap change in heatmaps that occurred after a recent update. The new version restores the expected colorscale behavior and allows for colorscale customization.Long description of the changes:
After updating finddata, users reported that heatmap colormaps changed from the familiar rainbow/jet colorscale to a purple/magenta scale. This was due to changes in the underlying
plot-publisherpackage that finddata imports for plotting functionality.This PR updates the dependency constraint in both
[tool.pixi.dependencies]and[tool.pixi.package.run-dependencies]sections ofpyproject.tomlto require version1.1.0.dev1or higher ofplot-publisher, which includes the fix for this issue.The change ensures that when finddata environments are redeployed with conda, the correct version of plot-publisher will be automatically picked up.
Check list for the pull request
Check list for the reviewer
Manual test for the reviewer
pixi installto update dependenciesplot-publisherversion1.1.0.dev1is installed:pixi list | grep plot-publisherpixi run python -c "import finddata; print(finddata.__version__)"pixi run finddata --versionReferences