A toolkit for visualizations in materials informatics.
plot_phonon_bands()
add kwargs branch_mode: "union" | "intersection" = "union"
and branches: Sequence[str] = ()
by @janosh in https://github.com/janosh/pymatviz/pull/124
add_best_fit_line()
power-up by @janosh in https://github.com/janosh/pymatviz/pull/125
validate_fig
decorator utility by @janosh in https://github.com/janosh/pymatviz/pull/126
ptable_plots
to ptable_hists
by @janosh in https://github.com/janosh/pymatviz/pull/129
eslint
config file by @DanielYang59 in https://github.com/janosh/pymatviz/pull/137
ptable
plotters and add ptable_heatmap
with diagonally-split tiles by @DanielYang59 in https://github.com/janosh/pymatviz/pull/131
structure_viz
by @DanielYang59 in https://github.com/janosh/pymatviz/pull/139
hide_f_block: bool = None
(La and Ac series) to ptable
plotters by @DanielYang59 in https://github.com/janosh/pymatviz/pull/140
pymatviz/enums.py
for SSOT on dataframe column and dict key names by @janosh in https://github.com/janosh/pymatviz/pull/143
Full Changelog: https://github.com/janosh/pymatviz/compare/v0.8.1...v0.8.2
plot_phonon_dos()
for interactive plotly DOS plots by @janosh in https://github.com/janosh/pymatviz/pull/113
show_values: bool = True
to ptable_heatmap[_plotly]()
and last_peak_anno: str
to plot_phonon_dos()
by @janosh in https://github.com/janosh/pymatviz/pull/114
plot_phonon_bands_and_dos()
by @janosh in https://github.com/janosh/pymatviz/pull/115
add_ecdf_line()
utility for plotting empirical cumulative distribution functions by @janosh in https://github.com/janosh/pymatviz/pull/117
pytest
fixtures df_(float|mixed)
to replace deleted pd._testing.make(Mixed)DataFrame()
by @janosh in https://github.com/janosh/pymatviz/pull/121
pymatviz_(black->dark)
by @janosh in https://github.com/janosh/pymatviz/pull/123
Full Changelog: https://github.com/janosh/pymatviz/compare/v0.8.0...v0.8.1
plot_structure_2d
add special site_labels: "symbol" | "species"
by @janosh in https://github.com/janosh/pymatviz/pull/101
get_crystal_sys
to crystal_sys_from_spg_num
by @janosh in https://github.com/janosh/pymatviz/pull/103
TqdmDownload
by @janosh in https://github.com/janosh/pymatviz/pull/104
ptable_heatmap
add keywords cbar_range
and cbar_kwargs
by @janosh in https://github.com/janosh/pymatviz/pull/105
ptable_heatmap_plotly
support 1s, 0s and negative values with log=True
by @janosh in https://github.com/janosh/pymatviz/pull/107
ptable_hists
by @janosh in https://github.com/janosh/pymatviz/pull/100
Axes
and Figure
in add_identity_line
by @janosh in https://github.com/janosh/pymatviz/pull/109
pymatviz
plotly templates by @janosh in https://github.com/janosh/pymatviz/pull/110
hist_kwds
arg to ptable_hists
to customize histograms by @janosh in https://github.com/janosh/pymatviz/pull/111
plot_band_structure
in new pymatviz/bandstructure.py
module by @janosh in https://github.com/janosh/pymatviz/pull/112
Full Changelog: https://github.com/janosh/pymatviz/compare/v0.7.3...v0.8.0
si_fmt()
for formatting large numbers in human-readable format by @janosh in https://github.com/janosh/pymatviz/pull/98
styled_html_tag()
in utils.py
by @janosh in https://github.com/janosh/pymatviz/pull/99
Full Changelog: https://github.com/janosh/pymatviz/compare/v0.7.2...v0.7.3
default_styles: bool = True
to df_to_pdf
by @janosh in https://github.com/janosh/pymatviz/pull/96
df_to_(svelte->html)_table
by @janosh in https://github.com/janosh/pymatviz/pull/97
Full Changelog: https://github.com/janosh/pymatviz/compare/v0.7.1...v0.7.2
df_to_svelte_table
by @janosh in https://github.com/janosh/pymatviz/pull/93
annotate_bars
add keyword adjust_test_pos: bool = False
by @janosh in https://github.com/janosh/pymatviz/pull/94
Full Changelog: https://github.com/janosh/pymatviz/compare/v0.7.0...v0.7.1
ptable_heatmap(_plotly)
1st arg: elem_values->values
by @janosh in https://github.com/janosh/pymatviz/pull/86
ptable_heatmap
and annotate_metrics
float precision kwargs to fmt
by @janosh in https://github.com/janosh/pymatviz/pull/87
patch_dict()
utility by @janosh in https://github.com/janosh/pymatviz/pull/88
bin_df_cols
utility function by @janosh in https://github.com/janosh/pymatviz/pull/90
pymatviz/io.py
out from pymatviz/utils.py
and add df_to_pdf()
export function by @janosh in https://github.com/janosh/pymatviz/pull/91
Full Changelog: https://github.com/janosh/pymatviz/compare/v0.6.3...v0.7.0
#83
#82
#80
ruff
enable more rule sets #79
save_fig()
in CI #78
8e50218
d60276b
ef40171
91d7909
Full Changelog: https://github.com/janosh/pymatviz/compare/v0.6.2...v0.6.3
annotate_metrics
util by @janosh in https://github.com/janosh/pymatviz/pull/73
make_docs.py
by @janosh in https://github.com/janosh/pymatviz/pull/76
Full Changelog: https://github.com/janosh/pymatviz/compare/v0.6.1...v0.6.2
axis: bool | str = "off"
to plot_structure_2d()
#72
ptable_heatmap
cbar_precision
kwarg #70
05da617
ed171ec
05368c0
bf1604a
3427e1f
fcf75de
Full Changelog: https://github.com/janosh/pymatviz/compare/v0.6.0...v0.6.1