Comments (15)
OK, will do (tomorrow)
from fhist.jl.
do you still see this if you run it in REPL? I don't trust Pluto.jl sometimes
from fhist.jl.
Hi, indeed the error does not occur in the REPL. Any idea of what could be wrong with Pluto? Our applications depend heavily of using an interactive notebook (and Pluto offers clear advantages over Jupyter).
from fhist.jl.
you can file an issue in Pluto.jl and see what they say. I suspect it may be have something to do with Requires.jl which we use:
Lines 45 to 48 in 8064f87
if the Julia you guys use is new enough, you can make a PR to use the new weak deps: SciML/DiffEqBase.jl#856 and I will happily accept the PR
from fhist.jl.
Hi Thanks! I will put an Issue in Pluto. We use a very new version of Julia, but not sure about how to proceed regarding your second comment:
if the Julia you guys use is new enough, you can make a PR to use the new weak deps: https://github.com/SciML/DiffEqBase.jl/pull/856 and I will happily accept the PR
from fhist.jl.
I'm just saying I would welcome a PR to this repo that removes migrate Requires.jl usage to use the now built-in extensions facility of Julia. The link is meant to be an example of what that PR might look like
from fhist.jl.
Hello again, I have tried to follow the examples and submitted at PR with the relevant changes.
from fhist.jl.
is this fixed now after #90 ?
from fhist.jl.
Not fixed yet, I'm afraid. What I did:
- I rebased my main branch to the main in your branch.
- Prepare a test repo (https://github.com/jjgomezcadenas/MathTools.jl)
- Made that test repo dependent of FHist (e.g, my local repo which is sync with your main branch)
- Run the pluto notebook you can find in the "nb" directory.
- I get errors when try to use CairoMakie
LoadError: MethodError: no method matching var"@recipe"(::LineNumberNode, ::Module, ::Expr, ::Symbol)
Closest candidates are:
var"@recipe"(::LineNumberNode, ::Module, ::Expr)
@ RecipesBase ~/.julia/packages/RecipesBase/BRe07/src/RecipesBase.jl:267
in expression starting at /Users/jjgomezcadenas/.julia/packages/FHist/a1vSI/src/makie.jl:32
in expression starting at /Users/jjgomezcadenas/.julia/packages/FHist/a1vSI/src/makie.jl:32
#macroexpand#[email protected]:119[inlined]
[email protected]:117[inlined]
docm(::LineNumberNode, ::Module, ::Any, ::Any, ::Bool)@Docs.jl:539
docm(::LineNumberNode, ::Module, ::Any, ::Any)@Docs.jl:539
(::DocStringExtensions.var"#35#36"{typeof(DocStringExtensions.template_hook)})(::LineNumberNode, ::Vararg{Any})@templates.jl:11
var"@doc"(::LineNumberNode, ::Module, ::String, ::Vararg{Any})@boot.jl:539
include(::Module, ::String)@Base.jl:457
include(::String)@FHist.jl:1
top-level [email protected]:40
[email protected]:370[inlined]
[email protected]:1[inlined]
(::FHist.var"#106#115")()@require.jl:101
macro [email protected]:393[inlined]
err(::Any, ::Module, ::String, ::String, ::Any)@require.jl:47
(::FHist.var"#105#114")()@require.jl:100
withpath(::Any, ::String)@require.jl:37
(::FHist.var"#104#113")()@require.jl:99
#invokelatest#[email protected]:819[inlined]
[email protected]:816[inlined]
foreach(::typeof(invokelatest), ::Vector{Function})@abstractarray.jl:3075
loadpkg(::Base.PkgId)@require.jl:27
#invokelatest#[email protected]:819[inlined]
[email protected]:816[inlined]
run_package_callbacks(::Base.PkgId)@loading.jl:1129
_tryrequire_from_serialized(::Base.PkgId, ::String, ::String, ::String, ::Vector{Any})@loading.jl:1398
_require_search_from_serialized(::Base.PkgId, ::String, ::UInt128)@loading.jl:1494
_require(::Base.PkgId, ::String)@loading.jl:1783
_require_prelocked(::Base.PkgId, ::String)@loading.jl:1660
macro [email protected]:1648[inlined]
macro [email protected]:267[inlined]
require(::Module, ::Symbol)@loading.jl:1611
top-level scope@[Other: 1](http://localhost:1234/edit?id=06b154a6-8b04-11ee-3efb-e100d2147193#)
So the Makie part doesn't seem to work.
from fhist.jl.
That's not Makie, recipeBase is Plots.jl
from fhist.jl.
It's strange because the nb works for Plots.
from fhist.jl.
Can you make a PR to put Plots.jl Pluto notebook in the doc notebook folder? We should probably include those examples in doc anyway
from fhist.jl.
Yes, the only reason I didn't do it already is that is not clear to me how you call Pluto from the doc folder, not familiar with this structure, can you let me know?
from fhist.jl.
You can make a PR to just add the .jl Pluto file, I will make it work don't worry. It's mostly automated in the build.jl and make.jl file inside the ./docs
from fhist.jl.
Fixed in #92
from fhist.jl.
Related Issues (20)
- Weird behavior HOT 1
- Naming of push/unsafe_push HOT 1
- unsafe_push when only 1 thread HOT 1
- implement Hist3D
- High precision bin edges make overfull display HOT 3
- Nonuniform weights? HOT 5
- FHist type-parameter (of eltype) is also used for the weights HOT 7
- Statbox not working on a normalized histogram
- integral should take into account binwidths HOT 4
- Normalize broken ? HOT 1
- normalize, width = true HOT 5
- Is normal that memory allocations happens when filling? HOT 16
- [RFC] `v0.11` breaking change to main API HOT 10
- FHistCairoMakieExt not found HOT 3
- Pushing `-Inf` and `Inf` HOT 4
- Number of entries not properly 'merged' HOT 8
- Make plot attributes histograms - direction HOT 5
- Extract ATLAS styling and utility function in another package HOT 1
- [Makie] `stephist` missing edges when some bins are empty in the middle of the histogram HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fhist.jl.