Skip to content

Commit a0a24da

Browse files
authored
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
1 parent e724d13 commit a0a24da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

parsl/monitoring/visualization/plots/default/workflow_plots.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,10 +290,10 @@ def workflow_dag_plot(df_tasks, group_by_apps=True):
290290
edge_trace['y'] += tuple([y0, y1, None])
291291

292292
# Create figure:
293+
title = go.layout.Title(text='Workflow DAG', font=dict(size=16))
293294
fig = go.Figure(data=[edge_trace] + node_traces,
294295
layout=go.Layout(
295-
title='Workflow DAG',
296-
titlefont=dict(size=16),
296+
title=title,
297297
showlegend=True,
298298
hovermode='closest',
299299
margin=dict(b=20, l=5, r=5, t=40), # noqa: E741

0 commit comments

Comments
 (0)