Simple wrapper for embedding Bokehplot in a vue-component.
Installation
npm i vue-bokeh --save-dev
Include:
```html
```
Might be easier to just copy the code from BokehPlot.vue.
Its very small and then you will have one less dependency.
Usage
```javascript
```
```python
from flask import Flask, jsonify
from flask
cors import crossorigin
from bokeh.plotting import figure
from bokeh.embed import components
app = Flask(
name)
@app.route("/get-plot")
@cross
origin()
def getplot():
plot = figure(plot_height=250, responsive = True)
plot.circle([1, 2], [3, 4])
script, div = components(plot, wrap_script=False)
return jsonify({'div': div, 'script': script})
app.run(debug=True)
```