Skip to content

Releases: janosh/pymatviz

v0.8.0

15 Dec 22:58
Compare
Choose a tag to compare

What's Changed

  • plot_structure_2d add special site_labels: "symbol" | "species" by @janosh in #101
  • Breaking: rename get_crystal_sys to crystal_sys_from_spg_num by @janosh in #103
  • Add class TqdmDownload by @janosh in #104
  • ptable_heatmap add keywords cbar_range and cbar_kwargs by @janosh in #105
  • ptable_heatmap_plotly support 1s, 0s and negative values with log=True by @janosh in #107
  • Add function ptable_hists by @janosh in #100
  • Tweaks by @janosh in #108
  • Support matplotlib Axes and Figure in add_identity_line by @janosh in #109
  • Define custom pymatviz plotly templates by @janosh in #110
  • Add hist_kwds arg to ptable_hists to customize histograms by @janosh in #111
  • Add plot_band_structure in new pymatviz/bandstructure.py module by @janosh in #112

Full Changelog: v0.7.3...v0.8.0

v0.7.3

05 Nov 03:48
Compare
Choose a tag to compare

What's Changed

  • Add si_fmt() for formatting large numbers in human-readable format by @janosh in #98
  • Add styled_html_tag() in utils.py by @janosh in #99

Full Changelog: v0.7.2...v0.7.3

v0.7.2

30 Oct 19:21
Compare
Choose a tag to compare

What's Changed

  • Add keyword default_styles: bool = True to df_to_pdf by @janosh in #96
  • Breaking: Fix and rename df_to_(svelte->html)_table by @janosh in #97

Full Changelog: v0.7.1...v0.7.2

v0.7.1

22 Oct 23:13
Compare
Choose a tag to compare

What's Changed

  • Add df_to_svelte_table by @janosh in #93
  • annotate_bars add keyword adjust_test_pos: bool = False by @janosh in #94
  • Periodic table UX improvements by @janosh in #95

Full Changelog: v0.7.0...v0.7.1

v0.7.0

10 Oct 00:07
Compare
Choose a tag to compare

What's Changed

  • Rename ptable_heatmap(_plotly) 1st arg: elem_values->values by @janosh in #86
  • Breaking: rename ptable_heatmap and annotate_metrics float precision kwargs to fmt 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 from pymatviz/utils.py and add df_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

24 Jul 16:21
Compare
Choose a tag to compare

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

  • @JaGeo made their first contribution in #82

Full Changelog: v0.6.2...v0.6.3

v0.6.2

29 Apr 22:56
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.1...v0.6.2

v0.6.1

21 Mar 21:31
Compare
Choose a tag to compare

What's Changed

  • Add kwarg axis: bool | str = "off" to plot_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

Full Changelog: v0.6.0...v0.6.1

v0.6.0

21 Feb 20:15
Compare
Choose a tag to compare

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

14 Jan 02:16
Compare
Choose a tag to compare

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