Skip to content

Instantly share code, notes, and snippets.

@fidyeates
fidyeates / gist:7303271
Created November 4, 2013 14:29
PyHighcharts Multiple Axis Example
from PyHighcharts import Highchart
from PyHighcharts.highcharts.options import yAxisOptions
import pandas as pd
import datetime as DT
import time
H = Highchart()
Y1 = yAxisOptions(title_text='Revenue', min=0)
Y2 = yAxisOptions(title_text='Customers', opposite=True, min=0)
@fidyeates
fidyeates / gist:6691147
Created September 24, 2013 20:58
Coloured Python Output
class FMT:
_colors = {
'default': '0',
'bl': '0',
'r': '1',
'g': '2',
'y': '3',
'bl': '4',
'm': '5',
'c': '6',