martinRenou on master
Fix Choropleth class when using… Merge pull request #539 from ma… (compare)
I am using
GridspecLayout to create a table of ~60 x 7. Very surprisingly, this takes about 10s 😨
At least half of the time is spent in filling the grid (see below).
Total time: 12.0157 s File: <ipython-input-4-6e95d5522f7f> Function: experiment_table at line 109 Line # Hits Time Per Hit % Time Line Contents ============================================================== ... 138 1 8790.0 8790.0 0.1 grid = GridspecLayout(n_rows=len(rows), n_columns=len(header_names),) 139 140 55 99.0 1.8 0.0 for i, row in enumerate(rows): 141 432 1291.0 3.0 0.0 for j, name in enumerate(header_names): 142 378 6150264.0 16270.5 51.2 grid[i, j] = row.get(name, text(""))
Is this to be expected? And what can I do (if anything) to speed it up?
A request: It would be nice if there was a way to get a simple report of what models/views the widget subsystem thinks are installed with version numbers for jupyter lab.
Do you mean basically just a print out of what widgets have been registered in the JLab widget manager registry? as in a handle to this thing? https://github.com/jupyter-widgets/ipywidgets/blob/ac2032d2f9cb930025979462aaccac4049721648/packages/jupyterlab-manager/src/plugin.ts#L51