-
Notifications
You must be signed in to change notification settings - Fork 18
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
Several possible improvements for ptable_heatmap
plotter
#138
Comments
thanks! all great suggestions. 👍
it used to be
thanks for reporting, that's terrible default behavior!
let's do it! |
docs ReferenceError: elem is not defined at file:///home/.../entries/pages/api/_page.svelte.js:444:565
Thanks for the input. I'm not quite sure either. Let's keep it as is for now.
I would push a PR to add this soon :) |
i think "impute" is being misused here. it usually means inferring a likely value from context/experience. not sure what you mean by "zero: impute with zeros" Lines 310 to 315 in 492cd53
|
Thanks for bringing this up. I used the word "impute" just like the
And answer from ChatGPT:
Maybe I should clarify the docstring? In that part, I listed two available missing value imputation strategies ( |
I noticed several minor issues with
ptable_heatmap
plotter:The font style of the text in each tile and colorbar title cannot be controlled individually (only a single
text_style
arg is allowed). (Maybe the new implementation would fix this automatically because they would be separate objects then)The colormap is named as
colorscale
, maybe rename it tocolormap
for consistency withmatplotlib
and other parts of the code?The default setting doesn't format numbers in (-1, 1) range well, see the below example (data for Ag and Zn is 0.93 and -0.43). Manually set
fmt
fixes the issue though.Should we add an option to allow easy hiding of the Lanthanum and Actinium series (maybe there is already one that I'm not aware of)?
The text was updated successfully, but these errors were encountered: