Makie v0.24.0
Breaking changes
- Breaking Refactored plots to rely on the newly introduced
ComputeGraph
instead ofObservables
. #4630- Breaking
attr = Attributes(plot)
now returns aComputeGraph
, which disallowscopy(attr)
,pop!(attr, ...)
,attr[:newvar] = ...
and splattingplot!(...; attr...)
. - Semi-Breaking
plot(parent, attr, args...; kwargs...)
now only considers applicable attributes inattr
and prioritizeskwargs
in case of collisions. - Semi-Breaking
@recipe Name (args...)
now names converted arguments and requires the number ofargs
to match the number of outputs ifromconvert_arguments()
- Breaking
replace_automatic!()
has been removed as it was incompatible.Makie.default_automatic()
can be used as an alternative. - Breaking
text!()
is no longer a nested structure of text plots. - Breaking Scene lights have moved to the scene
ComputeGraph
and no longer contain Observables. - Fixed synchronous update issues by allowing synchronized update with
Makie.update!(plot, attrib1 = val1, attrib2 = val2, ...)
- Improved performance in WGLMakie with better bundling and filtering of updates
- Improved traceability attribute and argument processing from user input to the backend
- Breaking
- Breaking
annotations!()
(not the newannotation
) has been removed in favor oftext!()
. #4630 - Semi-Breaking Removed various internal text bounding box functions in favor of more user friendly functions like
string_boundingboxes(plot)
#4630 - Semi-Breaking Deprecated
ShadingAlgorithm
forplot.shading
in favor of aBool
. The selection of the algorithm (FastShading/MultiLightShading
) now happens at the scene level. #4630 - Fixed 2x2 surfaces not aligning colors correctly in WGLMakie #4630
- Added support for per-mesh
uv_transform
inWGLMakie.meshscatter
#4630 - Fixed
PolarAxis
not considering text rotation correctly for tick label margins #4630 - Fixed
LaTeXStrings
not projecting lines correctly ifmarkerspace != :pixel
#4630 - Fixed incorrect z values for 2x2
surface()
plots in CairoMakie and WGLMakie. #5052 - Fixed
arrows3d()
now including lighting attributes. #5052 - Breaking Removed
MakieCore
from Makie's dependencies. Going forward, package extensions are recommended if a lightweight dependency is desired. A quick fix is to change the dependency toMakie
and replace allMakieCore
occurrences withMakie
although this will incur Makie's full load time every time. The alternative is to use a package extension onMakie
which requires at least Julia 1.9. - Breaking Changed
patchcolor
to opaque colors #5088 - Fixed
annotation
in the presence of scene transform functions #5058. - Moved Makie source directory from top level to ./Makie so that Makie itself does not include every other monorepo package when it's installed #5069.
- Removed asset folder and made it an artifact, breaking code that didn't use
Makie.assetpath
. Also introducesMakie.loadasset(name)
, to directly load the asset #5074. - Added
fontsize
attribute toannotation
#5099.
Merged pull requests:
- Using a Compute graph as alternative to Observables (#4630) (@SimonDanisch)
- release compute refactor (#5052) (@SimonDanisch)
- Delete MakieCore (#5055) (@jkrumbiegel)
- Fix
annotation
with transform funcs (#5058) (@jkrumbiegel) - Tag ComputePipeline (#5061) (@SimonDanisch)
- RefUpdater tweaks (#5062) (@jkrumbiegel)
- fixes for RPRMakie (#5064) (@SimonDanisch)
- glyphs need to be inserted across figures in the correct order (#5068) (@SimonDanisch)
- Move Makie to subdir (#5069) (@jkrumbiegel)
- Add changes from computegraph refactor to changelog (#5072) (@ffreyer)
- move assets to artifact + small cleanup (#5074) (@SimonDanisch)
- add threading test (#5084) (@SimonDanisch)
- fix some typos (#5087) (@t-bltg)
- change patchcolor to opaque colors (#5088) (@ffreyer)
- Try to get some compilation improvements (#5093) (@SimonDanisch)
- heatmap(resampler) needs to depend on mouse/keybordbutton as well (#5094) (@SimonDanisch)
- Try lower precision for transformation matrix to fix spurious giant Numbers (#5096) (@SimonDanisch)
- Update Mastodon link (#5097) (@Moelf)
- Add
fontsize
toannotation
(#5099) (@jkrumbiegel) - Fix remaining problems with refresh (#5100) (@SimonDanisch)
Closed issues:
LinePattern
doesn't seem to work withband
(#4134)- Handling of units in
Axis3
(#4963) - Consider moving Makie to ./Makie subdir (#5039)
- DimensionMismatch when updating some plot attributes (#5045)
- annotation! does not display correctly on log axis (#5051)
- Surface uses wrong z coordinates (#5057)
- Missing
diffuse
argument inarrows3d
(#5059) - Fixed size arrow tips in Makie 0.23 (#5082)
- GLMakie fails to compile on WSL2+Ubuntu22.04 (#5086)
- Unable to
dev
Makie (#5091)