issue_comments
1 row where issue = 963089887 and user = 14371165 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Complex LaTeX expressions in `long_name`s aren't rendered correctly when plotting · 1 ✖
| id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 894613319 | https://github.com/pydata/xarray/issues/5681#issuecomment-894613319 | https://api.github.com/repos/pydata/xarray/issues/5681 | IC_kwDOAMm_X841UrdH | Illviljan 14371165 | 2021-08-07T06:29:19Z | 2021-08-07T06:29:19Z | MEMBER | It's the newline join that's the problem. You can get the latex working as textwrap intends by using ```python import numpy as np from matplotlib import pyplot as plt import xarray as xr da = xr.DataArray(range(5), dims="x", coords = dict(x=range(5))) name = r"$Ra_s = \mathrm{mean}(\epsilon_k) / \mu M^2_\infty$" name = "$\n$".join(textwrap.wrap(name, 30)) da.x.attrs = dict(long_name = name) da.plot() plt.figure() plt.plot(range(5)) plt.xlabel(name) ``` But that looks worse than the original, checking if the string is latex-able seems a good idea. |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Complex LaTeX expressions in `long_name`s aren't rendered correctly when plotting 963089887 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issue_comments] (
[html_url] TEXT,
[issue_url] TEXT,
[id] INTEGER PRIMARY KEY,
[node_id] TEXT,
[user] INTEGER REFERENCES [users]([id]),
[created_at] TEXT,
[updated_at] TEXT,
[author_association] TEXT,
[body] TEXT,
[reactions] TEXT,
[performed_via_github_app] TEXT,
[issue] INTEGER REFERENCES [issues]([id])
);
CREATE INDEX [idx_issue_comments_issue]
ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
ON [issue_comments] ([user]);
user 1