Bladeren bron

Don't update fancy.GraphState on close.

Fixes #8, "Allow control over which `GraphState` operations are depicted by server". Enables use of multiple visualized GraphStates in the same program. Downside -- you have to call `update()` at the end of your program.
master
Pete Shadbolt 7 jaren geleden
bovenliggende
commit
8b69ef786e
1 gewijzigde bestanden met toevoegingen van 0 en 1 verwijderingen
  1. +0
    -1
      abp/fancy.py

+ 0
- 1
abp/fancy.py Bestand weergeven

@@ -25,7 +25,6 @@ class GraphState(graphstate.GraphState, nx.Graph):
""" Close the connection to the websocket """ """ Close the connection to the websocket """
if not self.ws: if not self.ws:
return return
self.update()
self.ws.close() self.ws.close()


def update(self, delay = 0.5): def update(self, delay = 0.5):


Laden…
Annuleren
Opslaan