paulovn / sparql-kernel

A Jupyter kernel to launch queries against SPARQL endpoints
BSD 3-Clause "New" or "Revised" License
98 stars 17 forks source link

Bugfix: Python3 incompatibility in drawgraph.py (Python 2.7 compatible) #37

Closed alexisdimi closed 4 years ago

alexisdimi commented 5 years ago

Graph display mode (%display diagram) will not work with Python 3; the syntax used in this fix will also work on Python 2.7.

Fixes issue Diagram does not work with python 3

paulovn commented 5 years ago

thanks for the PR, I've added a fix in the 1.3.0 branch based on popitem()

paulovn commented 4 years ago

1.3.0 (which contains these fixes) is merged now