Comments (4)
I've opened a PR with the fix. My initial solution wasn't ideal since it didn't allow for the lims to have a value of nothing
so now there's an additional check on the current axis.
from makie.jl.
Looks like this method is being called in a loop:
Makie.jl/src/makielayout/blocks/axis.jl
Lines 1375 to 1377 in 5c8d07c
Placing a suitable restriction on
args
seems to do the trick:
diff --git a/src/makielayout/blocks/axis.jl b/src/makielayout/blocks/axis.jl
index 8248577fb..3d270b73a 100644
--- a/src/makielayout/blocks/axis.jl
+++ b/src/makielayout/blocks/axis.jl
@@ -1372,7 +1372,7 @@ function limits!(ax::Axis, rect::Rect2)
Makie.ylims!(ax, ymin, ymax)
end
-function limits!(args...)
+function limits!(args::Union{Real, HyperRectangle}...)
limits!(current_axis(), args...)
end
from makie.jl.
@Sagnac That line indeed looks like the source of the problem and the proposed fix looks like it will solve it. Will you commit a fix or do you prefer if I open a PR?
from makie.jl.
I can prepare a PR later today or tomorrow
from makie.jl.
Related Issues (20)
- `DataInspector` overcounts the point number in `stairs` plots (GLMakie) HOT 1
- `scatterlines` cannot pass a number as one colorant for the whole scatterline HOT 1
- Why are the heatmap rectangles not centered with the passed coordinates? HOT 1
- `linkaxes!` does not update correctly the axes limit when `yaxisposition=:right` is set.
- shading selection for custom recipes HOT 1
- Some triangles are not rendered
- Fit objects into scene after Makie transformations HOT 7
- Precompilation of CairoMakie fails HOT 3
- Some recipes fail when plotting empty vectors HOT 3
- student gets precompile error and access denied to `libcairo-2.dll` HOT 1
- bracket! does not work with vectors when not providing a text argument
- DataInspector does not work for lines in log10 scale HOT 3
- Fill polygon with a linear gradient
- `size(screen)` does not match `size` keyword arg passed in on Mac HOT 2
- Repetitive precompilation for GLMakie and GeoMakie since Julia 1.10.0 HOT 3
- GLMakie Precompiling Segmentation Fault in WSL2 HOT 1
- Right ticks of an Axis not updating correctly when adding a Colorbar
- PolarAxis ticklabel cannot take rich text
- zooming in on 3D plot to within axes causes object to be rendered outside the axes 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 makie.jl.