mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-04-25 22:12:34 +02:00
Fixed edge thickness (#370)
This commit is contained in:
parent
4df55f2914
commit
e7278c047e
@ -82,7 +82,7 @@ def create_2d_graph( # noqa PLR0913
|
|||||||
edge_trace = go.Scatter(
|
edge_trace = go.Scatter(
|
||||||
x=edge_x,
|
x=edge_x,
|
||||||
y=edge_y,
|
y=edge_y,
|
||||||
line={"width": 0.5, "color": "#888"},
|
line={"width": edge_thickness, "color": "#888"},
|
||||||
hoverinfo="none",
|
hoverinfo="none",
|
||||||
mode="lines",
|
mode="lines",
|
||||||
)
|
)
|
||||||
@ -111,7 +111,6 @@ def create_2d_graph( # noqa PLR0913
|
|||||||
marker={
|
marker={
|
||||||
"color": [],
|
"color": [],
|
||||||
"size": 10,
|
"size": 10,
|
||||||
"line_width": edge_thickness,
|
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ def create_3d_graph( # noqa : PLR0913
|
|||||||
y=edge_y,
|
y=edge_y,
|
||||||
z=edge_z,
|
z=edge_z,
|
||||||
mode="lines",
|
mode="lines",
|
||||||
line={"color": "rgb(125,125,125)", "width": 1},
|
line={"color": "rgb(125,125,125)", "width": edge_thickness * 2},
|
||||||
hoverinfo="none",
|
hoverinfo="none",
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -128,7 +128,7 @@ def create_3d_graph( # noqa : PLR0913
|
|||||||
"symbol": "circle",
|
"symbol": "circle",
|
||||||
"size": 6,
|
"size": 6,
|
||||||
"color": "blue",
|
"color": "blue",
|
||||||
"line": {"color": "rgb(50,50,50)", "width": 0.5},
|
# "line": {"color": "rgb(50,50,50)", "width": 0.5},
|
||||||
},
|
},
|
||||||
# text=labels,
|
# text=labels,
|
||||||
hoverinfo="text",
|
hoverinfo="text",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user