Open buddha314 opened 10 months ago
Thanks for the suggestion. I don't want Toga-chart's documentation to become a reproduction of all of Matplotlib's documentation (or an attempt at a replacement for Matplotlib's documentation) - but a couple of examples showing how Matplotlib code maps to Toga-chart is definitely called for - especially when it comes to core usage issues like the fact that plot.show() isn't explicitly needed. Tagging as a documentation ticket on that basis.
What is the problem or limitation you are having?
Networkx is a powerful tool in data analysis, would be nice to see an example
Describe the solution you'd like
I'm providing code here for a basic example. It should be pointed out that most networkx examples rely on the
plot.show()
command which does not appear to be available in toga-chart. So you have to do the drawing yourself. That's okay, networks still provides the layout.Describe alternatives you've considered
Tried matplotlib directly.
Additional context
Hoping this is useful to someone.