Spaces:
Running
Running
Commit ·
5337030
1
Parent(s): 8c69abd
Modify the callback of heatmap
Browse files
src/ai_dashboard/plot_plugin/heatmap_plot.py
CHANGED
|
@@ -27,7 +27,7 @@ class CorrelationHeatmapPlugin(BasePlotPlugin):
|
|
| 27 |
|
| 28 |
@app.callback( # type: ignore
|
| 29 |
Output({"type": "plot-output", "plot": self.name}, "children"),
|
| 30 |
-
Input("plot-select", "value"),
|
| 31 |
)
|
| 32 |
def update(_) -> Any: # type: ignore
|
| 33 |
"""Update the plot."""
|
|
|
|
| 27 |
|
| 28 |
@app.callback( # type: ignore
|
| 29 |
Output({"type": "plot-output", "plot": self.name}, "children"),
|
| 30 |
+
Input("dynamic-plot-select", "value"),
|
| 31 |
)
|
| 32 |
def update(_) -> Any: # type: ignore
|
| 33 |
"""Update the plot."""
|