Releases: janosh/pymatviz
Releases · janosh/pymatviz
v0.4.3
What's Changed
- Add new plotly function
sankey_from_2_df_cols()
in #37 - Fix GH not showing interactive Plotly figures in Jupyter in #39
- c31ac55 fix
add_identity_line()
if plotly trace data contains NaNs - 444f9ba corrections to element property data in
pymatviz/elements.csv
+ data origin link - f4c9fb7 document
plot_structure_2d()
relation toase.visualize.plot.plot_atoms()
Full Changelog: v0.4.2...v0.4.3
v0.4.2
What's Changed
- Expand testing of keyword arguments in #31
- Fix
spacegroup_hist()
crystal system counts in #32 - Accept pmg structures as input for
spacegroup_(hist|sunburst)
in #33 - pre-commit autoupdate by @pre-commit-ci in #34
- add
add_identity_line()
intests/test_utils.py
in faa6a52 - refactor
save_and_compress_svg()
ingenerate_assets.py
in a47b811 - improve
ptable_heatmap_plotly()
colorscale
kwarg (#35) - remove
ml-matrics
topymatviz
migration cmd from readme in 0d123d4
Full Changelog: v0.4.1...v0.4.2
v0.4.1
What's Changed
PRs
- Add some Jupyter notebooks with usage examples in #25
- Support space groups symbols as input to
spacegroup_sunburst()
in #28 - Support space groups symbols as input to
spacegroup_hist()
in #30
Small stuff
7ee4105 rm local structures data/structures/mp-*.yml
, use matbench
phonon structures instead
9f21079 GH action bump setup-python
to v3
e5599a6 fix plt.tight_layout()
throwing AttributeError on density_hexbin()
plots (matplotlib/matplotlib#22576)
64c95fb readme clarify not being associated with pymatgen
619075f incl jupyter notebooks in ml-matrics
to pymatviz
migration command
Full Changelog: v0.4.0...v0.4.1
v0.4.0
v0.3.0
What's Changed
- python-requires>=3.8 by @sgbaird in #18
- Add
plot_structure_2d()
in new moduleml_matrics/struct_vis.py
in #20- add ml_matrics/struct_vis.py with ase-inspired plot_structure_2d()
- plot_structure_2d() add annotate_sites: bool = True
- add example structure plots to readme
- fix GH workflow svgo compression
- rename annotate_sites kwarg to site_labels, can be dict or list for custom labels
- fix test_plot_structure_2d()
- add plot_structure_2d() example with 20 random MP structures
- plot_structure_2d() drop kwargs offset, bbox, maxwidth, simplifies function, add label_kwargs
- assert matplotlib compare_images() passes in test_plot_structure_2d()
- try fix compare_images() in CI by setting explicit plt figsize
- move save_fixture() to new tests/_helpers.py along with stuff in tests/init.py
- add convenience root import for plot_structure_2d() + comment crediting ASE
- better handling of atomic numbers in count_elements() when outside range [1, 118] e46b2c4
- git mv data/{mp-n_elements<2,mp-elements}.csv (closes #19) ad6197e
- support atomic numbers in count_elements(), only element symbols before, add kwarg text_color in ptable_heatmap ada57cc
- add kwargs {pre,suf}fix in add_mae_r2_box(), use pip cache in publish.yml 6f64c3b
New Contributors
Full Changelog: v0.2.6...v0.3.0