diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2018-05-15 14:34:45 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2018-05-15 14:34:45 +0200 |
commit | 489bff4feac9a95d7f40c623fb634887aab3455c (patch) | |
tree | 7035c2ea125d7d82c9089445f7ac4307dd5b77bf | |
parent | 9c921f99adbd4637b21507e15c93a06c4909898a (diff) | |
download | comatose-489bff4feac9a95d7f40c623fb634887aab3455c.tar.gz comatose-489bff4feac9a95d7f40c623fb634887aab3455c.tar.bz2 comatose-489bff4feac9a95d7f40c623fb634887aab3455c.zip |
Fix bokeh plot
-rw-r--r-- | data/script.js | 3 |
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')); }); |