Spaces:
Sleeping
Sleeping
Update domain_space.py
Browse files- domain_space.py +7 -1
domain_space.py
CHANGED
@@ -210,7 +210,13 @@ def make_domain_plot(df_synth_pred, explored_domain_space, x_list, target="y_pre
|
|
210 |
x=x_col,
|
211 |
y=y_col,
|
212 |
z=z_col,
|
213 |
-
color=
|
|
|
|
|
|
|
|
|
|
|
|
|
214 |
range_color=[uncertainty_min, uncertainty_max],
|
215 |
hover_data={target: ":.3f"},
|
216 |
)
|
|
|
210 |
x=x_col,
|
211 |
y=y_col,
|
212 |
z=z_col,
|
213 |
+
color=target,
|
214 |
+
marker=dict(
|
215 |
+
size=12,
|
216 |
+
color=["z","y","x"], # set color to an array/list of desired values
|
217 |
+
colorscale='Viridis', # choose a colorscale
|
218 |
+
opacity=0.8
|
219 |
+
)
|
220 |
range_color=[uncertainty_min, uncertainty_max],
|
221 |
hover_data={target: ":.3f"},
|
222 |
)
|