summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/script.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/script.js b/data/script.js
index 6516928..4f07a5c 100644
--- a/data/script.js
+++ b/data/script.js
@@ -127,6 +127,9 @@ $(document).ready (function () {
axis_number_format: "0.[00]a",
orientation: "vertical",
});
+ p3.sizing_mode = 'scale_width';
+ p3.width = 500;
+ p3.height = 100;
plt.show (p3, document.querySelector ('#pubHistogram div'));
});