These are chat archives for ipython/ipython
I am trying to make a custom formatter for networkx graphs, but I hit a few roadblocks. (I'm not experienced with Python).
I managed to get something working by having a function
format_graph to plot a graph as a side effect, then using
There's another way, as described here: http://ipython.readthedocs.io/en/stable/config/integrating.html
I assume I need to implement a PNG formatter. But I do not know what kind of object the function should return so that it can be recognized as a PNG.