Simon Willison
Simon Willison
I'm going to transfer this over to the `datasette-vega` repo and respond there.
This is a really interesting problem. Visualizing all rows in a query can be infeasible due to size - I have Datasette tables with 5 million plus rows in them,...
Documentation: https://vega.github.io/vega-lite/docs/size.html#autosize
It looks like Vega Lite has a mechanism for specifying sort order here, which I need to expose somehow: https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order
Finally figured out a fix for this! https://github.com/simonw/django-sql-dashboard/commit/1ec286d30b0836b9779a768ff3babf0a49d33c8f ```javascript sort: null ```
To do this I think I'm going to change the properties of the `` component. It currently takes a `base_url=` property (with a URL to the `.json` version of a...
Related note: I shouldn't render a graph at all unless both the `x_column` and `y_column` have been selected.
I just ran into this problem for my package here: https://pypi.org/project/twitter-to-sqlite/ I added a table of contents to my README on https://github.com/dogsheep/twitter-to-sqlite (using [this recipe](https://github.com/simonw/til/blob/master/github-actions/markdown-table-of-contents.md)) but it doesn't work on...
It looks like Bleach is meant to be allowing the `id` attribute on every element here: https://github.com/pypa/readme_renderer/blob/be206d314d35a5d70416e4d76d55d19adcb5774b/readme_renderer/clean.py#L36-L43
... but in poking around with the library it looks like those `id=...` attributes aren't present even before Bleach runs. So I think the issue is in https://github.com/theacodes/cmarkgfm