Makie v0.23.0
Breaking changes
- Breaking Refactored
arrows
to solve various issues: #4925- Breaking
Arrows
as a type is deprecated as the recipe has been split up. Use theMakie.ArrowLike
conversion trait,Arrows2D
orArrows3D
instead. - Breaking The
arrows!()
function is deprecated in favor ofarrows2d!()
andarrows3d!()
. These plot functions differ in how they render arrows and can be used in 2D and 3D interchangeably. - Breaking The arrow size now considers all components of the arrow, not just the shaft, changing sizes and alignments.
- Breaking
align
no longer accepts:lineend, :tailend, :headstart
and:origin
. It now only accepts:head, :center, :tail
and numbers for fractional alignment. Issues with these alignments not working correctly have been fixed. - Breaking Attributes
arrowhead, arrowtail, arrowcolor, linecolor, linewidth, arrowsize
are deprecated. See?arrows2d
and?arrows3d
or the main docs for replacements. - Breaking Attributes
linestyle
andtransform_marker
are no longer supported. - Breaking Outside of
minshaftlength .. maxshaftlength
, arrows now scale as a whole instead of just their shaft. - Breaking 3D Arrows now try to scale to a size appropriate to the given data. This can be turned off by setting
markerscale
to a static number. - Arrows are now split into a tail, shaft and head, allowing for double-headed arrows.
- 2D arrows are now based on
poly
, fixing self-overlap issues with transparent arrows. - 3D arrow tips, or more generally the new
GeometryBasics.Cone
renders with much smoother shading. argmode = :endpoint
has been added to allow constructing arrows with a start and end point instead of a start point and a direction.- Arrows now work correctly with
colorrange
,alpha
, etc. - Transforms (e.g.
log
orrotate!(plot, ...)
) now only affect the start and end points of arrows, rather than its components. This fixes issues like incorrect tip rotation of 2D arrows and stretching/squishing of 3D arrows.
- Breaking
- Add dim conversion support for Axis3 #4964.
- Added support for vectors of intervals in
hspan
andvspan
#5036 - Export
Float64
geometry typesPoint3d
,Vec4d
,Rect2d
etc. #5040. - Added
dendrogram
recipe to Makie #2755 - Added unit support to
Slider
#5037 - Added
sources
section to all Project.tomls in the monorepo, so that]dev GLMakie
will download the monorepo and automatically dev Makie and MakieCore. #4967
Merged pull requests:
- Add Dendrogram recipe (#2755) (@kescobo)
- Refactor arrows (#4925) (@ffreyer)
- Add sources to all Project.tomls (#4967) (@asinghvi17)
- specapi: improve distance_score performance (#5002) (@aplavin)
- support vectors-of-intervals in h/vspan (#5036) (@aplavin)
- simplify & generalize closest_index_inexact (#5037) (@aplavin)
- Export
Point3d
etc. (#5040) (@jkrumbiegel) - Enable dim_converts for Axis3 (#5047) (@SimonDanisch)
- new version (#5048) (@ffreyer)
- optimize marker calculations (#5049) (@SimonDanisch)
- more thorough arrows changelog with notes on breaking changes (#5050) (@ffreyer)
Closed issues:
- Heatmaps (clustering), dendrograms/trees (#398)
- vec2quaternion MethodError when plotting arrows: (#743)
arrowtail
does nothing? (#1200)- 3d arrow does not point to the right coordinate (#1206)
- transparent arrows (#1688)
- Account for arrow head in arrow length (#2472)
- How to make 2D arrowhead points point to endpoint instead of being centered at endpoint? (#2607)
- arrows() doesn't have a colorrange attribute that controls linecolor/arrowcolor in CairoMakie (#2655)
- align does not work in arrows (#3039)
arrows(points, directions; kwargs...)
doesn't work (CairoMakie backend) (#3247)- [FR] Export
Point2d
,Vec2d
, etc (#3853) - arrow! and transparency does not work (#4054)
- ElasticArrays input broken for arrows (#4708)
- Streamplot Axis3 transformation to :xz axis fails (#4789)
- Display
Figure
changes theCamera3D
and color inLScene.scene
(#5042)