ResidentMario / py_d3

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

More reliable way to get latest d3 version from cdnjs #21

Closed huylenq closed 2 years ago

huylenq commented 2 years ago

The version order of assets responded from cdnjs is ascending. The current implementation would always get the earliest version instead of the latest (which is 1.29.5 - a very outdated version - at the moment).

This change retrieves the latest version information directly from the version field instead o assuming the assets' order.