Skip to content

Commit 9c15818

Browse files
committed
Fixed typing
1 parent c688996 commit 9c15818

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/tdamapper/plot_backends/plot_plotly.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"""
55

66
import math
7-
from typing import Any, List, Optional, Union
7+
from typing import Any, Dict, List, Optional, Union
88

99
import networkx as nx
1010
import numpy as np
@@ -261,7 +261,7 @@ def _set_cmap(mapper_plot, fig: go.Figure, cmap: str) -> None:
261261

262262
def _edge_colors_from_node_colors(
263263
graph: nx.Graph,
264-
node_colors: dict[Any, float],
264+
node_colors: Dict[Any, float],
265265
) -> List[float]:
266266
edge_col = []
267267
for e in graph.edges():

0 commit comments

Comments
 (0)