On Thursday, January 8, 2015 6:59:55 AM UTC-5, Nils Gudat wrote:
>
> Bumping the thread - has anyone tried this/is it possible?
>

Works fine for me, e.g.:

using PyCall, PyPlot
@pyimport seaborn as sns
sns.rugplot(randn(30)) 


Note that you'll want to use PyPlot as well as PyCall, because PyPlot sets 
up the Matplotlib backend and interactivity in Julia (similar to how 
"%matplotlib inline" sets up the Matplotlib backend in IPython).

As a general rule, most Python packages just work in PyCall (modulo the 
syntax differences and the occasional need to specify what conversion type 
you want).  The only things that require a bit more effort are things like 
Matplotlib that expect eventloop or IPython/IJulia backend support.

Reply via email to