8000 Revert change to how width and height are handled -- the other was ca… · matplotlib/matplotlib@021d74d · GitHub
[go: up one dir, main page]

Skip to content

Commit 021d74d

Browse files
committed
Revert change to how width and height are handled -- the other was causing image resampling.
1 parent 2f9c992 commit 021d74d

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

lib/matplotlib/backends/web_static/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<div id="mpl-div">
1010
<canvas id="mpl-canvas"
1111
class="mpl-canvas"
12+
width="800" height="600"
1213
onmousedown="mouse_event(event, 'button_press')"
1314
onmouseup="mouse_event(event, 'button_release')"
1415
onmousemove="mouse_event(event, 'motion_notify')">

lib/matplotlib/backends/web_static/mpl.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
.mpl-canvas {
2-
width:800px;
3-
height:600px;
4-
}
5-
61
.mpl-message {
72
float:right;
83
vertical-align:text-center;

0 commit comments

Comments
 (0)
0