13 January 2016

install

  1. package install

         $ conda install bokeh
    
         $ pip install bokeh
    
  2. sample data

    1. python prompt

       >>> import bokeh.sampledata
       >>> bokeh.sampledata.download()
      
    2. from bash or windows command prompt

       $ python -c "import bokeh.sampledata; bokeh.sampledata.download()"
       Creating ~/.bokeh directory
       Creating /Users/hqlgree2/.bokeh/data directory
       Using data directory: /Users/hqlgree2/.bokeh/data
       Downloading: CGM.csv (1589982 bytes)
          1589982 [100.00%]
       Downloading: US_Counties.zip (3182088 bytes)
          3182088 [100.00%]
       Unpacking: US_Counties.csv
       Downloading: us_cities.json (713565 bytes)
           713565 [100.00%]
      

demos check my notebooks



blog comments powered by Disqus