Skip to content

Releases: janosh/pymatviz

v0.8.2

11 May 16:32
Compare
Choose a tag to compare

What's Changed

  • plot_phonon_bands() add kwargs branch_mode: "union" | "intersection" = "union" and branches: Sequence[str] = () by @janosh in #124
  • add_best_fit_line() power-up by @janosh in #125
  • Add validate_fig decorator utility by @janosh in #126
  • MACE-MP pair repulsion curves by @janosh in #127
  • Copy color options for element types from ptable_plots to ptable_hists by @janosh in #129
  • Migrate to flat eslint config file by @DanielYang59 in #137
  • Refactor ptable plotters and add ptable_heatmap with diagonally-split tiles by @DanielYang59 in #131
  • Remove text background and fix z-order in structure_viz by @DanielYang59 in #139
  • Add keyword hide_f_block: bool = None (La and Ac series) to ptable plotters by @DanielYang59 in #140
  • Add pymatviz/enums.py for SSOT on dataframe column and dict key names by @janosh in #143

Full Changelog: v0.8.1...v0.8.2

v0.8.1

11 Feb 17:31
Compare
Choose a tag to compare

What's Changed

  • Add plot_phonon_dos() for interactive plotly DOS plots by @janosh in #113
  • Add show_values: bool = True to ptable_heatmap[_plotly]() and last_peak_anno: str to plot_phonon_dos() by @janosh in #114
  • Add plot_phonon_bands_and_dos() by @janosh in #115
  • Spacegroup hist plotly by @janosh in #116
  • add_ecdf_line() utility for plotting empirical cumulative distribution functions by @janosh in #117
  • Add pytest fixtures df_(float|mixed) to replace deleted pd._testing.make(Mixed)DataFrame() by @janosh in #121
  • Minor format tweaks by @DanielYang59 in #120
  • Add ptable_scatter by @DanielYang59 in #122
  • Breaking: rename custom plotly template pymatviz_(black->dark) by @janosh in #123

New Contributors

Full Changelog: v0.8.0...v0.8.1

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