Skip to content

Instantly share code, notes, and snippets.

@alokv
alokv / kovan-faucet
Created October 18, 2017 00:41
kovan faucet
0x7B8D4Cba73cA99d2F4D8C1a2bcD775DA32481CE1

Keybase proof

I hereby claim:

  • I am alokv on github.
  • I am alok (https://keybase.io/alok) on keybase.
  • I have a public key whose fingerprint is CBDF 42E2 F308 0A7D 73D9 7DA3 48E0 5919 C41F 3187

To claim this, I am signing this object:

def rstyle(ax):
"""Styles an axes to appear like ggplot2
Must be called after all plot and axis manipulation operations have been carried out (needs to know final tick spacing)
"""
#set the style of the major and minor grid lines, filled blocks
ax.grid(True, 'major', color='w', linestyle='-', linewidth=1.4)
ax.grid(True, 'minor', color='0.92', linestyle='-', linewidth=0.7)
ax.patch.set_facecolor('0.85')
ax.set_axisbelow(True)
@alokv
alokv / index.html
Created October 1, 2012 19:06 — forked from mbostock/.block
Sticky Force-Directed Graph
<!DOCTYPE html>
<meta charset="utf-8">
<style>
.link {
stroke: #000;
}
.node {
fill: #ccc;