mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-04-24 20:52: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(
|
||||
x=edge_x,
|
||||
y=edge_y,
|
||||
line={"width": 0.5, "color": "#888"},
|
||||
line={"width": edge_thickness, "color": "#888"},
|
||||
hoverinfo="none",
|
||||
mode="lines",
|
||||
)
|
||||
@ -111,7 +111,6 @@ def create_2d_graph( # noqa PLR0913
|
||||
marker={
|
||||
"color": [],
|
||||
"size": 10,
|
||||
"line_width": edge_thickness,
|
||||
},
|
||||
)
|
||||
|
||||
|
@ -94,7 +94,7 @@ def create_3d_graph( # noqa : PLR0913
|
||||
y=edge_y,
|
||||
z=edge_z,
|
||||
mode="lines",
|
||||
line={"color": "rgb(125,125,125)", "width": 1},
|
||||
line={"color": "rgb(125,125,125)", "width": edge_thickness * 2},
|
||||
hoverinfo="none",
|
||||
)
|
||||
|
||||
@ -128,7 +128,7 @@ def create_3d_graph( # noqa : PLR0913
|
||||
"symbol": "circle",
|
||||
"size": 6,
|
||||
"color": "blue",
|
||||
"line": {"color": "rgb(50,50,50)", "width": 0.5},
|
||||
# "line": {"color": "rgb(50,50,50)", "width": 0.5},
|
||||
},
|
||||
# text=labels,
|
||||
hoverinfo="text",
|
||||
|
Loading…
x
Reference in New Issue
Block a user