Coder Social home page Coder Social logo

Error using the example about lifecalendar.jl HOT 4 OPEN

kavir1698 avatar kavir1698 commented on September 26, 2024
Error using the example

from lifecalendar.jl.

Comments (4)

kavir1698 avatar kavir1698 commented on September 26, 2024

I also cannot reproduce your error. The error message shows nothing from this package. Perhaps there is a problem with VegaLite installation. Can you try installing VegaLite again?

from lifecalendar.jl.

EuRoXy avatar EuRoXy commented on September 26, 2024

After adding VegaLite separately, I still got the same error.
Maybe I miss some of the dependencies or the versions aren't compatible.

(@v1.5) pkg> status
Status `~/.julia/environments/v1.5/Project.toml`
  [6e4b80f9] BenchmarkTools v0.5.0
  [336ed68f] CSV v0.7.7
  [a93c6f00] DataFrames v0.21.8
  [dcc97b0b] GeoStats v0.19.0
  [7073ff75] IJulia v1.22.0
  [92561a1c] LifeCalendar v0.2.0 `https://github.com/kavir1698/LifeCalendar.jl.git#main`
  [30363a11] NetCDF v0.10.3
  [e7bfaba1] NumericalIntegration v0.2.0
  [91a5bcdd] Plots v1.7.3
  [c3e4b0f8] Pluto v0.12.15
  [438e738f] PyCall v1.92.1
  [d330b81b] PyPlot v2.9.0
  [1fd47b50] QuadGK v2.4.1
  [f3b207a7] StatsPlots v0.14.17
  [9e3dc215] TimeSeries v0.20.0
  [112f6efa] VegaLite v0.7.0

from lifecalendar.jl.

kavir1698 avatar kavir1698 commented on September 26, 2024

It is likely because your VegaLite is too old. Yours is v0.7 and mine is v2.3

from lifecalendar.jl.

EuRoXy avatar EuRoXy commented on September 26, 2024

After Pkg updating I only get warnings:

julia> life_calendar(my_birth_date, expected_years, special_dates)
WARN Missing type for channel "fill", using "nominal" instead.
WARN Missing type for channel "opacity", using "quantitative" instead.

But when I open the pdf file, it is empty. Seems it hasn't been written into.

from lifecalendar.jl.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.