Ipynb idioms: Difference between revisions

From DISI
Jump to navigation Jump to search
(Created page with "These are idioms for iPython Notebooks, also generally python. Category:webapi Category:ZINC Category:Idioms")
 
No edit summary
Line 1: Line 1:
These are idioms for iPython Notebooks, also generally python.  
These are idioms for iPython Notebooks, also generally python.  


== top of every ipynb ==
%matplotlib inline
import matplotlib.pyplot as plt
import numpy as np
import requests
import urllib
== set up variables for webapi ==
(hint ask john for credentials)
urlroot = 'http://x.ucsf.bkslab.org:y'
format = 'txt'





Revision as of 16:27, 23 October 2014

These are idioms for iPython Notebooks, also generally python.


top of every ipynb

%matplotlib inline
import matplotlib.pyplot as plt
import numpy as np
import requests
import urllib

set up variables for webapi

(hint ask john for credentials)

urlroot = 'http://x.ucsf.bkslab.org:y'
format = 'txt'