Skip to content

Commit f1a1bd2

Browse files
committed
replace deprecated standalone dash_table with dash.dash_table
1 parent dda1f57 commit f1a1bd2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

crystal_toolkit/components/phase_diagram.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import dash
2-
import dash_table
32
import plotly.graph_objs as go
4-
from dash import dcc, html
3+
from dash import dash_table, dcc, html
54
from dash.dependencies import Input, Output, State
65
from dash.exceptions import PreventUpdate
76
from pymatgen.analysis.phase_diagram import PDEntry, PDPlotter, PhaseDiagram
@@ -420,7 +419,7 @@ def ternary_plot(plot_data):
420419
go.Scatterternary(
421420
{
422421
"mode": "markers",
423-
"a": list_of_a_comp,
422+
"a": ..., # list_of_a_comp
424423
"b": ...,
425424
"c": ...,
426425
"text": ...,

0 commit comments

Comments
 (0)