We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad52eb3 commit 631a246Copy full SHA for 631a246
matplotlib/pyplot/__init__.js
@@ -894,8 +894,8 @@ jsplotlib.plot = function(chart) {
894
* ratio for the input values.
895
*/
896
that._update_chart_ratio = function() {
897
- var maxHeight = 800;
898
- var maxWidth = 800;
+ var maxHeight = 480;
+ var maxWidth = 640;
899
900
// save original values for recalculations
901
if (!that._originalWidth || !that._originalHeight) {
@@ -1824,7 +1824,7 @@ var $builtinmodule = function(name) {
1824
if (!chart) {
1825
$('#' + Sk.canvas).empty();
1826
// min height and width
1827
- chart = jsplotlib.make_chart(600, 600, "#" + Sk.canvas);
+ chart = jsplotlib.make_chart(400, 400, "#" + Sk.canvas);
1828
}
1829
};
1830
0 commit comments