Skip to content

Instantly share code, notes, and snippets.

Avatar

Paul Hobson phobson

View GitHub Profile
View covid.ipynb
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 Dec 17, 2018
json-based dockside
View js-d.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View FocusDemo.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View analysis_template.md
  • 00_references
  • 01_raw-data
  • 02_prepared-data
    • 20160925
    • 20171101
    • latest
  • 03_results
    • 20160926
    • 20171101
  • 20171102
View extra_facets.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View gs_example.ipynb
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 Apr 6, 2017
My VS Code tasks template for python projects/conda
View task_template.py
template = """\
{
"version": "0.1.0",
"isShellCommand": false,
"args": [],
"showOutput": "always",
"echoCommand": false,
"suppressTaskName": false,
"tasks": [
{
@phobson
phobson / dec.py
Created Mar 31, 2017
Python decorators
View dec.py
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 Mar 21, 2017
[Scratch] MPL Reorganization ideas
View mpl-reorg.md

mpl-stat

  • boxplot
  • bxp (+ cboox.boxplot_stats)
  • violinplot
  • violin (+ cboox.violin_stats)
  • hist
  • hist2d
  • hexbin
View build process.txt
$ 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