Skip to content

Commit 19182b8

Browse files
committed
Minor touchups.
1 parent 25e9bad commit 19182b8

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

site/numpy_issues.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ from myst_nb import glue
3030
glue = functools.partial(glue, display=False)
3131
3232
warnings.filterwarnings(
33-
"ignore", category=DeprecationWarning, message="parsing timezone")
33+
"ignore", category=DeprecationWarning, message="parsing timezone"
34+
)
3435
```
3536

3637
%TODO improve handling of datetimes (super annoying)
@@ -49,7 +50,7 @@ query_date = np.datetime64("2022-01-01 00:00:00")
4950
with open("../_data/issues.json", "r") as fh:
5051
issues = [item["node"] for item in json.loads(fh.read())]
5152
52-
glue("query_date", str(query_date))
53+
glue("query_date", str(query_date.astype("M8[D]")))
5354
```
5455

5556
### New issues
@@ -106,3 +107,7 @@ ax.set_title(
106107
ax.set_xlabel("Issue lifetime (days)", fontsize=20)
107108
ax.set_ylabel(r"$\frac{issues}{day}$", fontsize=20);
108109
```
110+
111+
% TODO: add distribution of labels
112+
113+
### First responders

0 commit comments

Comments
 (0)