summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2018-05-15 14:34:45 +0200
committerLars-Dominik Braun <lars@6xq.net>2018-05-15 14:34:45 +0200
commit489bff4feac9a95d7f40c623fb634887aab3455c (patch)
tree7035c2ea125d7d82c9089445f7ac4307dd5b77bf
parent9c921f99adbd4637b21507e15c93a06c4909898a (diff)
downloadcomatose-489bff4feac9a95d7f40c623fb634887aab3455c.tar.gz
comatose-489bff4feac9a95d7f40c623fb634887aab3455c.tar.bz2
comatose-489bff4feac9a95d7f40c623fb634887aab3455c.zip
Fix bokeh plot
-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'));
});