From 9c033b4c3e5b1221f9b495e7b873309f2bae6399 Mon Sep 17 00:00:00 2001 From: Kevin Hunter Kesling Date: Wed, 12 Feb 2025 16:54:05 -0500 Subject: [PATCH] Update plotly usage (#3767) Plotly released 6.0.0 a couple of weeks ago, and dropped a deprecated item we use. Accordingly, alter usage to the updated API. # Changed Behaviour No changed behavior. ## Type of change - Code maintenance/cleanup --- .../monitoring/visualization/plots/default/workflow_plots.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parsl/monitoring/visualization/plots/default/workflow_plots.py b/parsl/monitoring/visualization/plots/default/workflow_plots.py index 7fc0620f90..517c6ab6aa 100644 --- a/parsl/monitoring/visualization/plots/default/workflow_plots.py +++ b/parsl/monitoring/visualization/plots/default/workflow_plots.py @@ -290,10 +290,10 @@ def workflow_dag_plot(df_tasks, group_by_apps=True): edge_trace['y'] += tuple([y0, y1, None]) # Create figure: + title = go.layout.Title(text='Workflow DAG', font=dict(size=16)) fig = go.Figure(data=[edge_trace] + node_traces, layout=go.Layout( - title='Workflow DAG', - titlefont=dict(size=16), + title=title, showlegend=True, hovermode='closest', margin=dict(b=20, l=5, r=5, t=40), # noqa: E741