Skip to content

Commit

Permalink
Update plotly usage (#3767)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
khk-globus authored Feb 12, 2025
1 parent e724d13 commit 9c033b4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9c033b4

Please sign in to comment.