Skip to content

Instantly share code, notes, and snippets.

View busino's full-sized avatar

Raphael Walker busino

View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bokeh Plot</title>
<link rel="stylesheet" href="https://cdn.pydata.org/bokeh/release/bokeh-0.12.10.min.css" type="text/css" />
<link rel="stylesheet" href="https://cdn.pydata.org/bokeh/release/bokeh-widgets-0.12.10.min.css" type="text/css" />
<script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-0.12.10.min.js"></script>
@busino
busino / bokeh_frog.ipynb
Last active November 10, 2017 23:37
Bokeh Labelling-App (Add/Move/Delete Points) checkout py script with Delete Points implemented
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@busino
busino / bokeh_frog.py
Last active November 10, 2017 19:04
Annotation/Draw/PointCloud with bokeh ... and the frog.
from io import BytesIO
import base64
import numpy
from PIL import Image as PilImage
from bokeh.plotting import figure
from bokeh.models.tools import HoverTool, WheelZoomTool, PanTool
from bokeh import events
from bokeh.layouts import widgetbox, row