Releases: janosh/pymatviz
Releases · janosh/pymatviz
v0.8.0
What's Changed
plot_structure_2d
add specialsite_labels: "symbol" | "species"
by @janosh in #101- Breaking: rename
get_crystal_sys
tocrystal_sys_from_spg_num
by @janosh in #103 - Add class
TqdmDownload
by @janosh in #104 ptable_heatmap
add keywordscbar_range
andcbar_kwargs
by @janosh in #105ptable_heatmap_plotly
support 1s, 0s and negative values withlog=True
by @janosh in #107- Add function
ptable_hists
by @janosh in #100 - Tweaks by @janosh in #108
- Support matplotlib
Axes
andFigure
inadd_identity_line
by @janosh in #109 - Define custom
pymatviz
plotly templates by @janosh in #110 - Add
hist_kwds
arg toptable_hists
to customize histograms by @janosh in #111 - Add
plot_band_structure
in newpymatviz/bandstructure.py
module by @janosh in #112
Full Changelog: v0.7.3...v0.8.0
v0.7.3
v0.7.2
v0.7.1
v0.7.0
What's Changed
- Rename
ptable_heatmap(_plotly)
1st arg:elem_values->values
by @janosh in #86 - Breaking: rename
ptable_heatmap
andannotate_metrics
float precision kwargs tofmt
by @janosh in #87 - Add
patch_dict()
utility by @janosh in #88 - Add KDE support to
bin_df_cols
utility function by @janosh in #90 - Split
pymatviz/io.py
out frompymatviz/utils.py
and adddf_to_pdf()
export function by @janosh in #91 - Bump minimum Python version to 3.9 by @janosh in #92
Full Changelog: v0.6.3...v0.7.0
v0.6.3
What's Changed
- Fix "Loading [MathJax]/extensions/MathMenu.js" in Plotly figures exported to PDF
#83
- Tiny doc update in ptable.py
#82
- Better type errors
#80
ruff
enable more rule sets#79
- Disable
save_fig()
in CI#78
- adhere to PEP 484 (no implicit optional)
8e50218
- fix ruff TCH002,TCH003
d60276b
- add ptable_heatmap_plotly kwarg label_map: dict[str, str] | False | None = None
ef40171
- migrate site to eslint-plugin-svelte
91d7909
New Contributors
Full Changelog: v0.6.2...v0.6.3
v0.6.2
v0.6.1
What's Changed
- Add kwarg
axis: bool | str = "off"
toplot_structure_2d()
#72
- Add
ptable_heatmap
cbar_precision
kwarg#70
- add changelog.md via auto-changelog
05da617
- add half-baked /plots and /notebook pages
ed171ec
- add svelte-zoo PrevNext to notebooks pages
05368c0
- add new option 'occurrence' for CountMode = element_composition|fractional_composition|reduced_composition
bf1604a
- refactor ptable_heatmap()'s tick_fmt() and add test for cbar_precision kwarg
3427e1f
- plot_structure_2d() in site /api docs
fcf75de
New Contributors
- @Tinaatucsd made their first contribution in #70
Full Changelog: v0.6.0...v0.6.1
v0.6.0
What's Changed
- Add Ruff pre-commit hook by @janosh in #68
- Pyproject by @janosh in #69
- 0f2386a scatter_density() use x, y args as axis labels if strings
- c550332 rename add_mae_r2_box() to annotate_mae_r2()
- 7da3c0c use redirect in layout.ts instead of ugly DOM href surgery to forward readme links to GH repo
Full Changelog: v0.5.2...v0.6.0
v0.5.2
What's Changed
- b782ec4 v0.5.2
- 25a80a9 add save_fig() to pymatviz/utils.py covered by test_save_fig()
- 1b05792 add assets/make_api_docs.py
- e7cc488 remove google colab compat notices from example notebooks
- b27af1c Deploy demo site to GitHub pages (#64)
- 531133c add citation.cff
- 396bdf4 update examples/mp_bimodal_e_form.ipynb with MP r2SCAN beta release formation energies
- 71f861a Configure
devcontainer
for running notebooks in Codespace (#63) - a90c437 Customizable parity stats (#61)
- 25d700c add docformatter pre-commit hook
- 64b545d Support dataframes in
true_pred_hist()
(#60) - 6501627 Support dataframes in relevance and uncertainty plots (#59)
- 40e9530 Allow passing in dataframes and x, y as column names in parity plots (#58)
- f81bd3e plot_structure_2d() doc str add "multiple structures in single figure example" (#57)
- 5c8ccbe residual_hist() remove args y_true, y_pred, now takes y_res directly
- 4335001 Revert "Python 3.7 support (#55)"
Full Changelog: v0.5.1...v0.5.2