Open joemehltretter opened 5 years ago
Here is the first option where we just load a graphic and use display_record
to plot it.
def load_network_record_visualization(load_path):
with open(load_path) as in_file:
record = pickle.load(in_file)
display_record(record = record)
Here is the second option we thought of, but doesn't work due to circular dependency issues:
def load_network_record_visualization(load_path):
model = basenetwork.load_model(load_path)
display_record(record=model.record)
I think the benefit of this functionality is that we are pulling straight from the model.
@joemehltretter is this still an issue? I don't think it was addressed in remote server plotting but I'm not sure. If it wasn't I can take it on.
@joemehltretter bump. I think this has been addressed but want your feedback.
In
visualization.py
we need to add functionality that can load a model and collect it's records to display indisplay_record
.Basenetwork
has aload_model
function; however, it can't be used invisualization.py
. Therefore, we need to discuss a way to load models in visualization.