sqlalchemy_schemadisplay icon indicating copy to clipboard operation
sqlalchemy_schemadisplay copied to clipboard

Add IPython Jupyter Notebook support

Open shivam-tripathi opened this issue 7 years ago • 3 comments

It would be great to have sqlalchemy_schemadisplay render final image inside Jupyter Notebook.

shivam-tripathi avatar Feb 17 '18 11:02 shivam-tripathi

Since I don't use Jupyter myself (yet), someone needs to implement that. Happy to merge a PR and make a release.

fschulze avatar Feb 17 '18 11:02 fschulze

An intermediate way of doing this is to save a dummy SVG and then view it in the notebook:

from IPython.display import SVG

graph.write_svg('test.svg')
SVG('test.svg')

psychemedia avatar Feb 21 '18 14:02 psychemedia

I've made some sort of attempt at this here: https://github.com/innovationOUtside/ipython_magic_sqlalchemy_schemadisplay

psychemedia avatar May 23 '18 10:05 psychemedia