rm CondaPkg environment
This commit is contained in:
@@ -289,7 +289,7 @@ def draw_networkx(G, pos=None, arrows=None, with_labels=True, **kwds):
|
||||
"with_labels",
|
||||
}
|
||||
|
||||
if any([k not in valid_kwds for k in kwds]):
|
||||
if any(k not in valid_kwds for k in kwds):
|
||||
invalid_args = ", ".join([k for k in kwds if k not in valid_kwds])
|
||||
raise ValueError(f"Received invalid argument(s): {invalid_args}")
|
||||
|
||||
@@ -1184,7 +1184,7 @@ def draw_networkx_edge_labels(
|
||||
trans_angle = 0.0
|
||||
# use default box of white with white border
|
||||
if bbox is None:
|
||||
bbox = dict(boxstyle="round", ec=(1.0, 1.0, 1.0), fc=(1.0, 1.0, 1.0))
|
||||
bbox = {"boxstyle": "round", "ec": (1.0, 1.0, 1.0), "fc": (1.0, 1.0, 1.0)}
|
||||
if not isinstance(label, str):
|
||||
label = str(label) # this makes "1" and 1 labeled the same
|
||||
|
||||
|
||||
Reference in New Issue
Block a user