forked from materialsproject/pymatgen
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating Ternary and Quaternary Plots (materialsproject#3948)
* Update phase_diagram.py Adds marker labels to 3D ternary plots Adds additional spacing to 2D and 3D hovertext so it is easier to read. Signed-off-by: JoshuaNgXY <jxng@lbl.gov> * Update phase_diagram.py Signed-off-by: JoshuaNgXY <jxng@lbl.gov> * pre-commit auto-fixes * Update phase_diagram.py Variable name update Signed-off-by: JoshuaNgXY <jxng@lbl.gov> * Quaternary Plot functionality Added Updated hovertext to specify "Formation energy" and "Energy above hull". Updated Quaternary plot to have labels for atomic concentration of elements. Added a label to quaternary plot which allows users to toggle the hull surfaces so that the inner points can be accessed. Signed-off-by: JoshuaNgXY <jxng@lbl.gov> * pre-commit auto-fixes * Update phase_diagram.py Small variable name change to fix pre-commit Signed-off-by: JoshuaNgXY <jxng@lbl.gov> * Update Voltage Graph Added labels for the x value to points on the voltage graph so they are easier to read. Signed-off-by: JoshuaNgXY <joshuang@g.ucla.edu> * Update plotter.py Trying to fix tests Signed-off-by: JoshuaNgXY <joshuang@g.ucla.edu> * pre-commit auto-fixes * Update plotter.py Barebones fix to pass tests Signed-off-by: JoshuaNgXY <joshuang@g.ucla.edu> * pre-commit auto-fixes --------- Signed-off-by: JoshuaNgXY <jxng@lbl.gov> Signed-off-by: JoshuaNgXY <joshuang@g.ucla.edu> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
eb392d3
commit 289d281
Showing
2 changed files
with
58 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters