Skip to content

Commit

Permalink
fix css style (#1389)
Browse files Browse the repository at this point in the history
* fix css style

* Update CHANGELOG.md

* bump xarray to 0.16.1
  • Loading branch information
ahartikainen authored Sep 21, 2020
1 parent e355c1b commit 1b9a194
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
* Update diagnostics to be on par with posterior package ([#1366](https://github.com/arviz-devs/arviz/pull/1366))
* Use method="average" in `scipy.stats.rankdata` ([#1380](https://github.com/arviz-devs/arviz/pull/1380))
* Add more `plot_parallel` examples ([#1380](https://github.com/arviz-devs/arviz/pull/1380))
* Bump minimum xarray version to 0.16.1 ([#1389](https://github.com/arviz-devs/arviz/pull/1389)

### Deprecation

Expand Down
3 changes: 2 additions & 1 deletion arviz/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -696,5 +696,6 @@ class HtmlTemplate:
</div>
</li>
"""
_, css_style = xr.core.formatting_html._load_static_files() # pylint: disable=protected-access
specific_style = ".xr-wrap{width:700px!important;}"
css_template = f"<style> {xr.core.formatting_html.CSS_STYLE}{specific_style} </style>"
css_template = f"<style> {css_style}{specific_style} </style>"
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ numpy>=1.12
scipy>=0.19
packaging
pandas>=0.23
xarray>=0.11
xarray>=0.16.1
netcdf4

0 comments on commit 1b9a194

Please sign in to comment.