home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 963239311

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
963239311 MDExOlB1bGxSZXF1ZXN0NzA1ODk4MDcx 5682 Improves rendering of complex LaTeX expressions as `long_name`s when plotting 13205162 closed 0     11 2021-08-07T14:18:16Z 2021-11-28T17:06:49Z 2021-08-17T02:29:54Z CONTRIBUTOR   0 pydata/xarray/pulls/5682

This PR changes the function label_from_attrs() to wrap text differently if we think it's a LaTeX sequence. This prevents long LaTeX names from not being rendered properly.

I tried to identify if it's a latex code if the string starts with $ and if it has an even number of $ in it. But I'm open to suggestions. I also increased the number of allowed columns for latex code since it generally renders to fewer characters.

  • [x] Closes #5681
  • [x] Tests added
  • [x] Passes pre-commit run --all-files
  • [x] User visible changes (including notable bug fixes) are documented in whats-new.rst
  • [x] New functions/methods are listed in api.rst

CC: @dcherian @Illviljan

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5682/reactions",
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    13221727 pull

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 11 rows from issue in issue_comments
Powered by Datasette · Queries took 0.586ms · About: xarray-datasette