Skip to content

Commit

Permalink
DOC: Cleanup for nbsphinx output
Browse files Browse the repository at this point in the history
Followup to #15581

Using the `nbsphinx: hidden` metadata to hide the ouptut, so
readers don't see matplotlib's fc-list warning.

Make the tables monospaced in CSS.
  • Loading branch information
TomAugspurger committed Apr 8, 2017
1 parent 88f5851 commit 714f4ad
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc/source/style.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,20 @@
"Let's see some examples."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true,
"nbsphinx": "hidden"
},
"outputs": [],
"source": [
"import matplotlib\n",
"# We have this here to trigger matplotlib's font cache stuff.\n",
"# This cell is hidden from the output"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down
5 changes: 5 additions & 0 deletions doc/source/themes/nature_with_gtoc/static/nature.css_t
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,11 @@ tbody tr:nth-child(odd) {
background: #f5f5f5;
}

table .data, table .row_heading table .col_heading {
font-family: monospace;
}


/**
* See also
*/
Expand Down

0 comments on commit 714f4ad

Please sign in to comment.