Releases: janosh/pymatviz
Releases · janosh/pymatviz
v0.17.5
v0.17.4
What's Changed
💥 Breaking Changes
🛠 Enhancements
- Add 8 new MatterViz widgets for band structures, DOS, convex hulls, and more by @janosh in #336
- Add
show_image_vectorsoption tostructure_2dandstructure_3dby @lan496 in #338
🐛 Bug Fixes
- Fix widget arg names by @janosh in #322
- Handle disordered structures in
coordination_vs_cutoff_lineby @janosh in #326 - Fix all
tyv0.9.0 errors by @janosh in #331 - Dynamically link to function source line number from
readme.mdby @DanielYang59 in #333 - Fix minor colorbar tick issues in ptable_heatmap_plotly when log=True by @chhyyi in #334
- fix: handle pymatgen Magmom objects in show_site_vectors by @lan496 in #337
💡 Refactoring
🏷️ Type Hints
New Contributors
Full Changelog: v0.17.2...v0.17.4
v0.17.3
What's Changed
💥 Breaking Changes
🐛 Bug Fixes
- Fix widget arg names by @janosh in #322
- Handle disordered structures in
coordination_vs_cutoff_lineby @janosh in #326
🏷️ Type Hints
Full Changelog: v0.17.2...v0.17.3
v0.17.2
What's Changed
🛠 Enhancements
🐛 Bug Fixes
🏷️ Type Hints
- Replace
mypywithtyinpre-commitby @DanielYang59 in #314
Full Changelog: v0.17.1...v0.17.2
v0.17.1
v0.17.0
What's Changed
💥 Breaking Changes
- Add
cell_size_fn: Callable[[ModuleStats], float]keyword topy_pkg_treemapby @janosh in #293 - Support disordered site rendering in
structure_(2|3)d_plotly()by @janosh in #301 - Remove
residual_vs_actual()by @janosh in #302 chem_env_treemapby @janosh in #303- Drop
matplotlibdependency, refactor few remainingmatplotlibfunctions toplotlyby @janosh in #305 - MatterViz widgets by @janosh in #311
🎉 New Features
🛠 Enhancements
cluster_compositionsaddannotate_pointskeyword by @janosh in #291- Add element color legend to plotly 2d and 3d structure visualizations by @janosh in #298
- Auto-render pymatgen/ASE objects when returned from notebook cells by @janosh in #299
structure_(2|3)d_plotlyaddcell_boundary_tol: float | dict[str, float]by @janosh in #300
🐛 Bug Fixes
- Fix plotly validators by @bmaranville in #310
🧹 House-Keeping
- Rename
structure_(2|3)d_plotlytostructure_(2|3)dby @janosh in #304 - Update
pytest-splitdurations by @janosh in #306
New Contributors
- @bmaranville made their first contribution in #310
Full Changelog: v0.16.0...v0.17.0
v0.16.0
What's Changed
- Add
py-pkg-treemap()#290 - Add
color_scaleparam to allow for linear, logarithmic, arcsinh scaling of property values incluster_compositions#288 - refactor cluster_compositions to take DataFrame as 1st arg, not composition list
#287 - Test example scripts with
uv runin CI#286 - New
clustermodule with functions for embedding, projecting and scattering compositions#285 - spacegroup_sunburst and chem_sys_sunburst: add keywords max_slices and max_slices_mode: other | none
#284 - Multi-trace
plotlypowerups#283 brillouin_zone_3dnow supports multiple structures/atoms in customizable grid layouts#282- Add
max_cells: int | Nonekeyword tochem_sys_treemap#281 structure_(2|3)d_plotlyenable gradient-colored bonds#280- Auto font color for high contrast of element symbols in
ptable_heatmap_splits_plotly#279 - Update
luminancecalculation to use WCAG 2.0 standard coefficients#278 - Fix
structure_2d_plotlyrotationkeyword not applying to unit cell#276 spglibtomoyo#275- fix bond drawing in structure_3d_plotly with better image atom handling
#274 - Use SI suffix number format in ptable colorbar tick labels
#273 - fix error in docstring
#271 - Remove
matplotlib-based periodic table plotting functions#270 - Ward metallic glasses train/val/test splits
#269 - Codecov
#268 - Support per-split colorbars and colorscales in
ptable_heatmap_splits_plotly()#267 - add
enhance_parity_plot()powerup#266 - add treemap.py with new chem_sys_treemap plot function
#265 - add chem_sys_sunburst() to pymatviz/sunburst.py to visualize chemical system distributions
#264 - test metallic glass feature engineering and model evaluation
f0c5174 - better colorbar tick formatting and spacing in density_scatter_plotly
d1d51b4 - RDF plotting hide legend for single structure
dc8a1a2 - fix confusion_matrix() mismatch of false-positive/negative counts and heatmap color
ae5b629 contrast_ratio()inpymatviz/utils/plotting.pyto calculate color contrast according to WCAG 2.0b7c30cf- Add script to fetch and update papers citing pymatviz (#277)
6a2b831 - add examples/mlip_phonons.py
608a12f - clean up examples/diatomics/calc_mlip_diatomic_curves.py and support multiple ML models
d6fe3d9 - add examples/compare_elastic_constants.py testing MACE vs MP PBE
2861298 - Refactor ROC and PR curve no-skill line plotting
6d68cc1 readme.mdadd links to source and example code for each plot function65ccb7c- add assets/scripts/key_enum_table.py to visualize Key enum attributes with Plotly
0598bb5 - delete unused enums Model + ElemColorMode
ee296bc - fix ptable_heatmap_splits_plotly() incorrectly handling hide_f_block keyword resulting in missing tiles for Rf 104 through Og 118
b9ccbf0 - force LabelEnums to have labels, gives .label type str causing less mypy headache
a6825ff
Full Changelog: v0.15.1...v0.16.0
v0.15.1
What's Changed
🛠 Enhancements
structure_(2|3)d_plotlynow support ASE Atoms and sequences of them by @janosh in #262- Remove hard-coded
gridsizeindensity_hexbinby @jcwang587 in #263 - add molecular dynamics attributes to Key enum
4b55a40 - better Key.unit formatting: replace unicode sup/superscripts with <sup>/<sub>+ASCII
eb12217
🧹 Linting
- bump ruff to 0.9 and auto-fix
6989ba5
📖 Documentation
- calculate MACE-MPA-0 diatomic curves
4dc5f1e
New Contributors
- @jcwang587 made their first contribution in #263
Full Changelog: v0.15.0...v0.15.1
v0.15.0
What's Changed
💥 Breaking Changes
plotlyROC and precision-recall curves by @janosh in #253- Delete
pymatviz/classify/curves_matplotlib.pyby @janosh in #254
🎉 New Features
- Add
pymatviz.classify.confusion_matrixby @janosh in #252 - Add
brillouin_zone_3dplot function by @janosh in #251 - Add
ptable_scatter_plotlyby @janosh in #258
🛠 Enhancements
- Add element color schemes
alloysby @janosh in #255 - Support
phonopyTotalDosandBandStructureinphonon_dosandphonon_bandsplots by @janosh in #256 - Multi-line
ptable_scatter_plotlyby @janosh in #260
🐛 Bug Fixes
Full Changelog: v0.14.0...v0.15.0
v0.14.0
What's Changed
💥 Breaking Changes
- [Breaking] Split
utilsinto sub-modules, movetypingfromutilsto top-level (pmv.typing) by @DanielYang59 in #248
🎉 New Features
🛠 Enhancements
- Better
ptable_hists_plotlydefaults by @janosh in #244 phonon_bandsenable custom acoustic/optical bands by @janosh in #249
📖 Documentation
- Split
make_assetsscripts by plot functions by @DanielYang59 in #247
🤷♂️ Other Changes
- Enhance warning message for default return type change of
ptable_heatmapby @DanielYang59 in #240
Full Changelog: v0.13.2...v0.14.0