Releases: janosh/pymatviz
Releases · janosh/pymatviz
v0.8.2
What's Changed
plot_phonon_bands()
add kwargsbranch_mode: "union" | "intersection" = "union"
andbranches: Sequence[str] = ()
by @janosh in #124add_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
toptable_hists
by @janosh in #129 - Migrate to flat
eslint
config file by @DanielYang59 in #137 - Refactor
ptable
plotters and addptable_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) toptable
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
What's Changed
- Add
plot_phonon_dos()
for interactive plotly DOS plots by @janosh in #113 - Add
show_values: bool = True
toptable_heatmap[_plotly]()
andlast_peak_anno: str
toplot_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
fixturesdf_(float|mixed)
to replace deletedpd._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
- @DanielYang59 made their first contribution in #120
Full Changelog: v0.8.0...v0.8.1
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