Skip to content

Instantly share code, notes, and snippets.

View phobson's full-sized avatar
⛏️

Paul Hobson phobson

⛏️
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@phobson
phobson / js-d.ipynb
Created December 17, 2018 16:34
json-based dockside
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@phobson
phobson / FocusDemo.ipynb
Last active October 17, 2018 18:45
Focus Demo
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
  • 00_references
  • 01_raw-data
  • 02_prepared-data
    • 20160925
    • 20171101
    • latest
  • 03_results
    • 20160926
    • 20171101
  • 20171102
@phobson
phobson / extra_facets.ipynb
Created August 9, 2017 15:03
Extra facets
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@phobson
phobson / gs_example.ipynb
Created April 20, 2017 00:42
gs_example
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@phobson
phobson / task_template.py
Created April 6, 2017 15:20
My VS Code tasks template for python projects/conda
template = """\
{
"version": "0.1.0",
"isShellCommand": false,
"args": [],
"showOutput": "always",
"echoCommand": false,
"suppressTaskName": false,
"tasks": [
{
@phobson
phobson / dec.py
Created March 31, 2017 19:07
Python decorators
import numpy
def _dedenter(func):
""" dedents any string returned by a function. """
@wraps(func)
def wrapper(*args, **kwargs):
string = func(*args, **kwargs)
return dedent(string)
return wrapper
@phobson
phobson / mpl-reorg.md
Last active March 21, 2017 15:37
[Scratch] MPL Reorganization ideas

mpl-stat

  • boxplot
  • bxp (+ cboox.boxplot_stats)
  • violinplot
  • violin (+ cboox.violin_stats)
  • hist
  • hist2d
  • hexbin
$ conda build dev --no-anaconda-upload --channel=conda-forge --channel=phobson/label/dev --python=3.6
$ conda convert osx-64/pybmpdb-0.2.x-py3* -p all
$ anaconda upload ./*/pybmpdb-0.2.x-py3* --label=dev