github MakieOrg/Makie.jl v0.23.0

latest releases: v0.24.6, v0.24.5, v0.24.4...
2 months ago

Makie v0.23.0

Diff since v0.22.10

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 the Makie.ArrowLike conversion trait, Arrows2D or Arrows3D instead.
    • Breaking The arrows!() function is deprecated in favor of arrows2d!() and arrows3d!(). 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 and transform_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 or rotate!(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.
  • Add dim conversion support for Axis3 #4964.
  • Added support for vectors of intervals in hspan and vspan #5036
  • Export Float64 geometry types Point3d, 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:

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 the Camera3D and color in LScene.scene (#5042)

Don't miss a new Makie.jl release

NewReleases is sending notifications on new releases.