By default, ipython notebook will use MathJax on a CDN
1 2 3 4 5 6 |
|
To download and install the mathjax.js locally, we can run
from IPython.external.mathjax import install_mathjax
install_mathjax()
By default, ipython notebook will use MathJax on a CDN
1 2 3 4 5 6 |
|
To download and install the mathjax.js locally, we can run
from IPython.external.mathjax import install_mathjax
install_mathjax()
It is a neat trick
Start your ipython like this ipython qtconsole --pylab inline
, and the ipython session will plot graph in the interpreter window.
It is what I want to achieve: whenever a selection is changed in the top UIPicker, the choices in the second UIPicker will change accordingly.
Useful lessons from this exercise:
reloadAllComponents
==
is sufficient to find out which picker instance a picker API is handling1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
|
Floating-rate payer: pay 6-month LIBOR receive a fixed rate of 5.19 percent Fixed-rate payer: pay a fixed rate of 5.25 percent receive 6-month LIBOR
In this example, the bank is quoting an offer rate of 5.25 percent, which is what the fixed-rate payer will pay, and a bid rate of 5.19 percent, which is what the floating-rate payer will receive. The bid-offer spread is therefore 6 basis points.
from ‘Moorad Choudhry – Fixed Income Securities and Derivatives Handbook (Analysis and Valuation)’
It is a follow-up on my last ipython install issue
Turn out i just need to follow the suggested solution in the conda failure message, which is to use -p /path/to/local/conda
Now I have four set of python runtime installed on my MBP:
From Apple
From Homebrew
From Pythonbrew
From conda