Skip to content

Commit e624fd6

Browse files
Chiu PeterChiu Peter
authored andcommitted
rename callback arguments
1 parent f2e956d commit e624fd6

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

crystal_toolkit/components/pourbaix.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ def update_element_specific_sliders(
747747
default_comp,
748748
title,
749749
update_string,
750-
{"display": "block"},
750+
{"display": "block", "height": "36px"},
751751
)
752752

753753
@cache.memoize(timeout=5 * 60)
@@ -773,15 +773,15 @@ def get_pourbaix_diagram(pourbaix_entries, **kwargs):
773773
)
774774
def make_figure(
775775
pourbaix_entries,
776-
dependency,
776+
display_composition,
777777
kwargs,
778778
n_clicks,
779779
elements,
780780
comp_text,
781-
dependency2,
782-
dependency3,
783-
dependency4,
784-
dependency5,
781+
element_specific_controls,
782+
filter_solids,
783+
show_heatmap,
784+
heatmap_choice,
785785
) -> go.Figure:
786786
if pourbaix_entries is None:
787787
raise PreventUpdate
@@ -809,7 +809,6 @@ def make_figure(
809809
return (self.get_figure_div(), True, False, "")
810810

811811
kwargs = self.reconstruct_kwargs_from_state()
812-
print(kwargs)
813812

814813
pourbaix_entries = self.from_data(pourbaix_entries)
815814

0 commit comments

Comments
 (0)