ResidentMario / py_d3

D3 block magic for Jupyter notebook.
MIT License
450 stars 40 forks source link

Fix super() call in D3Magics class #1

Closed MattPitlyk closed 8 years ago

MattPitlyk commented 8 years ago

Line 19: The super call is missing arguments:

super(D3Magics, self).__init__(**kwargs)

It didn't run for me until I made that change, and now it works.

ResidentMario commented 8 years ago

That's because I neglected to test this in 2.7, Python version before 3.0 expected parent classes in the constructor. Should be fixed now.