howso-visuals 2.5.4__py3-none-any.whl → 2.5.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
howso/visuals/graph.py CHANGED
@@ -48,7 +48,7 @@ def _create_edge_annotations(
48
48
  arrowside = "none"
49
49
  else:
50
50
  arrowside = "end"
51
-
51
+
52
52
  if uncertain_edges and ((s, d) in uncertain_edges or (d, s) in uncertain_edges):
53
53
  opacity = uncertain_edge_opacity
54
54
  arrowside = "none"
@@ -208,7 +208,7 @@ def plot_graph(
208
208
  label_edges=label_edges,
209
209
  uncertain_edges=uncertain_edges,
210
210
  uncertain_edge_opacity=uncertain_edge_opacity,
211
- )
211
+ )
212
212
  fig = go.Figure(
213
213
  layout=go.Layout(
214
214
  title=dict(text="<br>Network graph made with Python", font=dict(size=16)),
@@ -220,14 +220,14 @@ def plot_graph(
220
220
  annotations=annotations,
221
221
  )
222
222
  )
223
-
223
+
224
224
  if cscale_tuple is None:
225
- cbot = 1
226
- cmin = 3
227
- cmid = 15
228
- cmax = 30
225
+ cbot = 0
226
+ cmin = 1
227
+ cmid = 3
228
+ cmax = 10
229
229
  else:
230
- cbot = 1
230
+ cbot = 0
231
231
  cmin = cscale_tuple[0]
232
232
  cmid = cscale_tuple[1]
233
233
  cmax = cscale_tuple[2]
@@ -239,7 +239,7 @@ def plot_graph(
239
239
  cmid=cmid,
240
240
  cmax=cmax,
241
241
  colorbar=dict(
242
- title="Missing Information Ratio",
242
+ title="Missing Information",
243
243
  tickvals=[cbot, cmin, cmid, cmax],
244
244
  ticktext=[f"{cbot}", f"{cmin}", f"{cmid}", f"≥{cmax}"],
245
245
  ),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: howso-visuals
3
- Version: 2.5.4
3
+ Version: 2.5.6
4
4
  Summary: Visualization utilities for use with Howso Engine.
5
5
  License: GNU AFFERO GENERAL PUBLIC LICENSE
6
6
  Version 3, 19 November 2007
@@ -8,15 +8,15 @@ config/powershell/Download-Tzdata.ps1,sha256=uGNszw3t3quz1ClN3PWlPr4cKMar9KxxFf4
8
8
  config/powershell/Helper-Functions.ps1,sha256=oLEunSYLr-zxtG9kqYuOGG8v3kSxTQEpqeERWQ4jC8I,990
9
9
  howso/visuals/__init__.py,sha256=OL9LT4186YIXkEmM4qc21maRnfrtxBmFUHnalcKzGWA,507
10
10
  howso/visuals/colors.py,sha256=2ChjT4MUjA4ZqITR_K1j3fUKNRBd8M9iyJ4ZT10cNlw,1709
11
- howso/visuals/graph.py,sha256=OWbeOTn-OC4WQOZ65XjkpeQlEUzRI_7AwU8ldamYZi4,8334
11
+ howso/visuals/graph.py,sha256=fdZzYLwoBV8CeW_SwtcNkDh8xbIG_FlECSECxyBIr5M,8311
12
12
  howso/visuals/visuals.py,sha256=Aruqe2hUWCTcF2t_2HVbubvPF7RO7RG8RUxvr8EnMBg,33158
13
13
  howso/visuals/data/iris.csv,sha256=73iTb6rB42LgZwf89er-tEbuyjlvEAx6WywMPwt0GjU,2757
14
14
  howso/visuals/tests/conftest.py,sha256=BcvCVDWbwaQKSstzJzN9G48KoDnCgTtVdgYo2CJZTWM,1293
15
15
  howso/visuals/tests/test_graph.py,sha256=gfuJNpsNBLx2tDXDIR-ClbCZUSOQCmk8Dx2X-NhN2yM,1014
16
16
  howso/visuals/tests/test_plot.py,sha256=lOYYUty84LFFdaQCDcw-fMAicTqlHIwvNtuVch0RIEE,8121
17
- howso_visuals-2.5.4.dist-info/licenses/LICENSE-3RD-PARTY.txt,sha256=aosupVocnnJ4n99ICajoFbXaRnZstEbtxTuVaT6RWUQ,373165
18
- howso_visuals-2.5.4.dist-info/licenses/LICENSE.txt,sha256=2xqHuoHohba7gpcZZKtOICRjzeKsQANXG8WoV9V35KM,33893
19
- howso_visuals-2.5.4.dist-info/METADATA,sha256=3qtz6RVYqKWc5MEXpLW13_bA1UM4etuQfHsLbfro60g,41051
20
- howso_visuals-2.5.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
21
- howso_visuals-2.5.4.dist-info/top_level.txt,sha256=4ltSHx7mNsXczuoCPkz1irjq1x1JZir2QrX-ZwRNWXU,22
22
- howso_visuals-2.5.4.dist-info/RECORD,,
17
+ howso_visuals-2.5.6.dist-info/licenses/LICENSE-3RD-PARTY.txt,sha256=aosupVocnnJ4n99ICajoFbXaRnZstEbtxTuVaT6RWUQ,373165
18
+ howso_visuals-2.5.6.dist-info/licenses/LICENSE.txt,sha256=2xqHuoHohba7gpcZZKtOICRjzeKsQANXG8WoV9V35KM,33893
19
+ howso_visuals-2.5.6.dist-info/METADATA,sha256=ogmqaaDN4dIIimuzPcEvRjPSF5gXFl6DQjtHlvzH3E8,41051
20
+ howso_visuals-2.5.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
21
+ howso_visuals-2.5.6.dist-info/top_level.txt,sha256=4ltSHx7mNsXczuoCPkz1irjq1x1JZir2QrX-ZwRNWXU,22
22
+ howso_visuals-2.5.6.dist-info/RECORD,,