Questions tagged [ijulia-notebook]

IJulia is a Julia-language backend combined with the Jupyter interactive environment (also used by IPython). This combination allows to interact with the Julia language using Jupyter/IPython's powerful notebook, which combines code, formatted text, math, and multimedia in a single document.

198 questions
14
votes
3 answers

Hosting interactive jupyter notebook on private website

I currently run a personal website using Wordpress (but hosted on siteground) that is a set of engineering study guides. I would like to move towards making these study guides interactive (i.e. refreshing graphics based on sliders, doing basic…
10
votes
1 answer

Write output in the same place in the console

I like working in an IJulia notebook and would like to print the status of some process on the same line over and over again. Taking the example given in the link below, we desire some output: Downloading File FooFile.txt [47%] and want to avoid…
8
votes
4 answers

How to set Julia Environment for IJulia Jupyter notebook?

I am encountering package compatibility issues within my global Julia environment for specific packages I want to use in a Jupyter notebook. Is there a way to tell IJulia to use a different environment instead of my global one?
Alec
  • 4,235
  • 1
  • 34
  • 46
8
votes
1 answer

function Base.+ must be explicitly imported to be extended

i'm pretty new to julia forgive me if my question is dumb, for exmaple i defined a type like this: type Vector2D x::Float64 y::Float64 end and 2 object w and v: v = Vector2D(3, 4) w = Vector2D(5, 6) if i add them up it will raise this err…
Javad Sameri
  • 1,218
  • 3
  • 17
  • 30
8
votes
3 answers

(x:y) operator in Julia

I am trying to understand this code: r = (1:10) - (4/1) println(r) Output: -3.0:1.0:6.0 I understood why I got -3 and 6. But why I got that value in the middle (1.0)? How does Julia calculate it? Or how I can google it?
konstantin_doncov
  • 2,725
  • 4
  • 40
  • 100
7
votes
2 answers

How can I plot bar chart in Julia?

plot(Giorni,Fatturato, label="line") scatter!( Giorni,Fatturato, label="points") ylabel!("Fatturato [Dollari]") xlabel!("Tempo (Giorni)") title!("Fatturato Giornaliero") With this I obtain a normal graph, how can i plot a bar chart?
7
votes
1 answer

registering kernels in ipython/jupyter notebook - kernel.json

With the latest version of IPython, kernels can be registered by placing a kernel.json file in ~/.ipython/kernels//. I am currently trying to add a julia and a R kernel and I am wondering who is responsible for creating and maintaining…
cel
  • 30,017
  • 18
  • 97
  • 117
6
votes
1 answer

How to make a scatter plot based on the values of a column in the data set?

I am given a data set that looks something like this and I am trying to graph all the points with a 1 on the first column separate from the points with a 0, but I want to put them in the same chart. I know the final result should be something…
5
votes
1 answer

how can i share a Jupyter Notebook?

I am using Julia but didn't really like the IDE (more of a notebook guy). So I used for the first time Jupyter (lab and notebooks). I started Jupyter from Anaconda and made my notebook. The thing is I want to share it. Like other people can access a…
5
votes
1 answer

Calling a julia function from jupyter notebook (import Julia jupyter notebook)

With Python I can reuse another Jupyter notebook by importing it directly to a new one as a module (here in Anaconda) or using nbpackage. Can this be done with Julia Jupyter notebooks? How to import functions from one notebook into another?
sophros
  • 14,672
  • 11
  • 46
  • 75
5
votes
3 answers

Resizing plots in the Julia kernel for Jupyter notebooks

I want to know if there is any way that I can specify the size of the inline-plots in Jupyter. At the moment, I use Vega library and width and height don't work. There is any workaround.
bensw
  • 2,818
  • 5
  • 21
  • 31
5
votes
1 answer

Julia vs MATLAB: Why is my Julia code so slow?

I just started with Julia and translated my MATLAB code into Julia (basically line-by-line). I noticed that the Julia code is much slower (like 50x). The original problem is a dynamic programming problem in which I interpolate the value function --…
marky2k
  • 97
  • 1
  • 5
5
votes
1 answer

Updating version of a Julia without reinstalling packages from previous version

Recently new version (0.4) of the Julia was rolled out. I would like to install it, since I noticed some bugs in my current 0.3.11 version. But after installing 0.4 I realized my packages from 0.3.11 are not in 0.4. It would be very tedious to…
aberdysh
  • 1,634
  • 2
  • 13
  • 34
5
votes
2 answers

One-liner or short script to run the code inside a Jupyter notebook?

I like to develop scripts by running them piecemeal in a Jupyter (nee iJulia) notebook. However, sometimes I need to test things on a remote system and need to make a copy of just the code as a .jl file. Has anyone already written a one-liner or…
ARM
  • 1,520
  • 1
  • 12
  • 24
4
votes
1 answer

Using Julia to expand a list of dicts fields in dataframe

I have a column in a dataframe that is a list of dictionaries: [{"key1": value1, "key2": "value2", "key3": "value3", "key4": "value4"}, {"key1": value1, "key2": "value2", "key3": "value3", "key4": "value4"}] Is there a way to expand this column to…
noob4ever
  • 117
  • 5
1
2 3
13 14