cmaclell / concept_formation

Python implementations of TRESTLE, COBWEB/3, and COBWEB
MIT License
61 stars 18 forks source link

Visualization update #48

Closed eharpste closed 7 years ago

eharpste commented 7 years ago

This branch updates the existing visualization code to handle the changes to how ContinuousValues are stored. It also moves the visualization into its own module on concept_formation that enables people to generate and view new viz's from a single functional call.

eharpste commented 7 years ago

One thing to check would be if I updated all the MANIFEST and doc stuff correctly for eventual inclusion in docs and pip packaging. I think I did but another look over would be nice.

cmaclell commented 7 years ago

I was having problems with visualize opening the file correctly in the web browser. I modified it to use "file://" and to resolve the absolute path, but I'm not sure if this will work on a windows system. Can you check it?

eharpste commented 7 years ago

I looked at Chris's fix to calling webbrowser and it seems to work. I suspect there might be further cross platform issues with that particular line but hopefully not many going forward. I also expanded the visualize module to have a leaf trimming function to show shallower trees and one that can render a tree to the level of a clustering.