Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Week2_4-SimplePlots.ipynb shows warning in cell 1 #2

Open
gaballench opened this issue Nov 27, 2016 · 0 comments
Open

Week2_4-SimplePlots.ipynb shows warning in cell 1 #2

gaballench opened this issue Nov 27, 2016 · 0 comments

Comments

@gaballench
Copy link

In cell 1 the following warning is reported:

# Setting up a custom stylesheet in IJulia
file = open("style.css") # A .css file in the same folder as this notebook file
styl = readall(file) # Read the file
HTML("$styl") # Output as HTML
WARNING: readall is deprecated, use readstring instead.
 in depwarn(::String, ::Symbol) at ./deprecated.jl:64
 in readall(::IOStream, ::Vararg{IOStream,N}) at ./deprecated.jl:30
 in include_string(::String, ::String) at ./loading.jl:441
 in execute_request(::ZMQ.Socket, ::IJulia.Msg) at /home/balleng/.julia/v0.5/IJulia/src/execute_request.jl:169
 in eventloop(::ZMQ.Socket) at /home/balleng/.julia/v0.5/IJulia/src/eventloop.jl:8
 in (::IJulia.##9#15)() at ./task.jl:360
while loading In[1], in expression starting on line 3

Using the function readstring instead of readall in line 3 solves the problem.

Cheers,

Gustavo

@gaballench gaballench changed the title Week2_4-SimplePlots.ipynb shows warning in cormating cell 1 Week2_4-SimplePlots.ipynb shows warning in cell 1 Nov 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant