Skip to content

Commit 60c51fe

Browse files
committed
Align WebAgg figure to the top.
Resizing is really weird if they are aligned at the default bottom/baseline.
1 parent 46c978e commit 60c51fe

File tree

1 file changed

+1
-0
lines changed
  • lib/matplotlib/backends/web_backend/css

1 file changed

+1
-0
lines changed

lib/matplotlib/backends/web_backend/css/page.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,6 @@ span#login_widget {
7878
#figure-div {
7979
display: inline-block;
8080
margin: 10px;
81+
vertical-align: top;
8182
}
8283

0 commit comments

Comments
 (0)