Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plots 2.0 #4904

Draft
wants to merge 58 commits into
base: master
Choose a base branch
from
Draft

Plots 2.0 #4904

wants to merge 58 commits into from

Commits on Mar 12, 2024

  1. Road to plots 2.0 (#4866)

    * remove deprecated backends
    
    * move GR to extension
    
    * make plot3d work
    
    * make heatmap work
    
    * factor components into modules
    
    * finish Surface module
    
    * export is_horizontal from Fonts
    
    * start refactoring Plot, Subplot, etc. components
    
    * change version
    
    * continue module shuffling
    
    * continued refactoring
    
    * remove orientation
    
    * minimal usable state
    
    * format
    
    * remove makekw
    
    * anything up to Segments
    
    * move series stuff from utils
    
    * use Arrows
    
    * create Colorbars module
    
    * move axes stuff (precompiling state)
    
    * let's relax deps and add them back later if needed (macOS issue)
    
    * only 2 tests fail now
    
    * restructure extension logic
    
    * remove unicode for now
    
    * GR extension
    
    * update deps
    
    * init step of gr
    
    * proper init of GR
    
    * for now manually activate the backend
    
    * road to fixing gr
    
    * revert some changes
    
    * fix import exports
    
    * fix measures
    
    * clarify name space
    
    * might need to be reverted, shape->Shape (too confusing_
    
    * return lost wrap
    
    * types and modules
    
    * fix more things
    
    * add gr function
    
    * remove stale and fix naming
    
    * added unicode backend
    
    * unicodeplots works
    
    * update runtests
    
    * only use explicitly imported names in backends
    
    * rename wrap to protect
    
    * remove pre post imports, move to alignment jl
    
    * alignment jl
    
    * remove comments
    
    * fix typo
    
    * finally fix InputWrapper, misc changes
    
    * import overloaded, namespace fix
    
    * fixing per backend exceptions
    
    * alost all tests are passing
    
    * fix exports
    
    * trying to fix project toml
    
    * try to resolve deps
    
    * move other backends to the extensions
    
    * start pgfplotsx
    
    * add backends to weakdeps
    
    * recover
    
    * already defined
    
    * fix GR plot area method overload
    
    * plotarea methods are overloaded in layouts.jl
    
    * more fixes
    
    * fix test
    
    * namespace fixes
    
    * fix namespaces
    
    * revert later
    
    * rm pyplot
    
    * remove requires
    
    * add PGFPlotsX imports
    
    * bump julia compat
    
    * create runtime functions for all backends
    
    * improve error handling
    
    * pgfplotsx loading
    
    * get tests running
    
    * fix names, skip StatsPlots examples
    
    * test on 1.10
    
    * remove pyplot remainings
    
    * don't test julia < 1.9
    
    * run julia formatter
    
    * add pythonplotbackend
    
    * fix init python plot
    
    * gaston working
    
    * reorganize plotly backends
    
    * update kaleido compat
    
    * format
    
    * remove PlotlyBase compat
    
    * make default backend functional
    
    * make plotly functional
    
    * naming and PlotlyJS
    
    * get gaston running
    
    * run more tests
    
    * move dev in ci
    
    * dev both at the same time
    
    * fix syntax
    
    * don't dev twice
    
    * only load Gtk if not on CI
    
    * add missing using statement for PlotlyJS
    
    * more imports
    
    * move merge_with_base_supported to Commons
    
    * make Plotly module
    
    * skip non-working tests
    
    * fix filtering
    
    * format
    
    * invert filter
    
    * fix pgfplotsx warning
    
    * don't test Gaston
    
    * fix cgrad missing
    
    * format
    
    ---------
    
    Co-authored-by: Simon Christ <[email protected]>
    Co-authored-by: Simon Christ <[email protected]>
    Co-authored-by: = <=>
    3 people authored Mar 12, 2024
    Configuration menu
    Copy the full SHA
    c91872b View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2024

  1. create PlotsBase (#4913)

    * rework extensions
    
    * need to fix `test_backends`
    
    * test `Plots` pass
    
    * fix test
    
    * restore tests
    
    * format
    
    * update
    t-bltg authored Apr 1, 2024
    Configuration menu
    Copy the full SHA
    b1811ba View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2024

  1. fix tests - restore preferences - cleanup (#4914)

    * rework extension `__init__` mechanism
    
    * checkpoint plotly
    
    * fix `pythonplot`
    
    * format
    
    * more `pythonplot` fixes
    
    * checkpoint replace
    
    * syntax
    
    * fix `plotlyjs`
    
    * restructure modules
    
    * stable `GR`
    
    * checkpoint broken `references` gr
    
    * broken viewport
    
    * fix `dev`
    
    * update
    
    * no project
    
    * remove `--project`
    
    * update
    
    * fix `plotarea`
    
    * fixes
    
    * stable `PlotsBase`
    
    * cleanup
    
    * format
    
    * restrcit gaston to `linux`
    
    * restrcit `PlolyJS` test
    
    * update format
    
    * update action
    
    * update `Aqua`
    
    * cleanup - fix `Plots` tests
    
    * move preferences back to `PlotsBase`
    
    * simplifications
    
    * format
    
    * change versions
    
    * rework ci
    
    * format
    
    * test downstream
    
    * update ci
    
    * move ci scripts
    
    * fix
    
    * fix
    
    * update
    
    * debug ci
    
    * fix
    
    * update versions
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * restore CI
    
    * update workflow
    
    * add `PlotsBase` precompile statements
    
    * update tests
    
    * update preference - simplifications
    
    * update test
    
    * update
    t-bltg authored Apr 7, 2024
    Configuration menu
    Copy the full SHA
    d7aa8bc View commit details
    Browse the repository at this point in the history
  2. restore ci on v2

    t-bltg authored Apr 7, 2024
    Configuration menu
    Copy the full SHA
    a5a028b View commit details
    Browse the repository at this point in the history
  3. restore format check on v2

    t-bltg authored Apr 7, 2024
    Configuration menu
    Copy the full SHA
    2979ab5 View commit details
    Browse the repository at this point in the history
  4. empty commit

    t-bltg committed Apr 7, 2024
    Configuration menu
    Copy the full SHA
    5014e6c View commit details
    Browse the repository at this point in the history
  5. Merge branch 'master' into v2

    t-bltg committed Apr 7, 2024
    Configuration menu
    Copy the full SHA
    4ef0b18 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    82f57ba View commit details
    Browse the repository at this point in the history
  7. cleanup

    t-bltg committed Apr 7, 2024
    Configuration menu
    Copy the full SHA
    023b643 View commit details
    Browse the repository at this point in the history
  8. fix typos

    t-bltg committed Apr 7, 2024
    Configuration menu
    Copy the full SHA
    a5992ba View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2024

  1. Merge branch 'master' into v2

    t-bltg committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    cd272b7 View commit details
    Browse the repository at this point in the history
  2. fix test

    t-bltg committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    f27c801 View commit details
    Browse the repository at this point in the history
  3. fixes

    t-bltg committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    9d70fa9 View commit details
    Browse the repository at this point in the history
  4. remove using

    t-bltg committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    b377179 View commit details
    Browse the repository at this point in the history
  5. fix test

    t-bltg committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    f55ee23 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. Configuration menu
    Copy the full SHA
    3bea623 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. use @static for PythonCall

    t-bltg committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    9f185ad View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2024

  1. Merge branch 'master' into v2

    t-bltg authored Apr 27, 2024
    Configuration menu
    Copy the full SHA
    4f5b3f2 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2024

  1. Merge branch 'master' into v2

    t-bltg committed May 4, 2024
    Configuration menu
    Copy the full SHA
    4609e98 View commit details
    Browse the repository at this point in the history
  2. format

    t-bltg committed May 4, 2024
    Configuration menu
    Copy the full SHA
    0ab074b View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. Configuration menu
    Copy the full SHA
    83346a6 View commit details
    Browse the repository at this point in the history
  2. Bump julia-actions/cache from 1 to 2 (#4938)

    Bumps [julia-actions/cache](https://github.com/julia-actions/cache) from 1 to 2.
    - [Release notes](https://github.com/julia-actions/cache/releases)
    - [Commits](julia-actions/cache@v1...v2)
    
    ---
    updated-dependencies:
    - dependency-name: julia-actions/cache
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 13, 2024
    Configuration menu
    Copy the full SHA
    bb08fa0 View commit details
    Browse the repository at this point in the history
  3. Bump actions/cache from 3 to 4 (#4937)

    Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
    - [Release notes](https://github.com/actions/cache/releases)
    - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
    - [Commits](actions/cache@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: actions/cache
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 13, 2024
    Configuration menu
    Copy the full SHA
    52d35b9 View commit details
    Browse the repository at this point in the history
  4. Bump peter-evans/create-pull-request from 5 to 6 (#4936)

    Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 5 to 6.
    - [Release notes](https://github.com/peter-evans/create-pull-request/releases)
    - [Commits](peter-evans/create-pull-request@v5...v6)
    
    ---
    updated-dependencies:
    - dependency-name: peter-evans/create-pull-request
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 13, 2024
    Configuration menu
    Copy the full SHA
    3db0408 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. add recipe for series on Plots v2 (#4941)

    * add recipe
    
    * add import
    
    * handle errorbars, add tests
    
    * improve test
    
    * simplify test
    
    * fix test
    BeastyBlacksmith authored May 23, 2024
    Configuration menu
    Copy the full SHA
    f32247a View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2024

  1. GR: Draw all gridlines before axis (v2) (#4960)

    * GR: Draw all gridlines before axis
    
    Separates grid drawing from the remainder of gr_draw_axis, so that all
    gridlines are drawn below the axis. Previously, y-axis gridlines were
    drawn after the x-axis and could overlap it.
    
    Fixes issue #4202 for GR.
    
    * Added qualified PlotsBase names missing from v1 port
    dd0 authored Jul 13, 2024
    Configuration menu
    Copy the full SHA
    617b8aa View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. [v2] Fix floating point equality comparison in layouts (#4973)

    * Fix floating point equality comparison in layouts [v2]
    
    * Add tests for grid layout widths/heights [v2]
    
    * Add myself to .zenodo.json [v2]
    penelopeysm authored Aug 23, 2024
    Configuration menu
    Copy the full SHA
    f75d21a View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. Add docs folder (#4963)

    * add documentation folder
    
    * use 'pre' in ci
    
    * move make.jl
    
    * update for Documenter v1
    
    * handle some more errors
    
    * add workflow dispatch triggers to ci
    
    * add backend imports
    
    * add PlotsBase on CI
    
    * earlier
    
    * RecipesPipeline too
    
    * fix syntax
    
    * remove from Project
    
    * add ImageIO ImageMagick
    
    * add StaticArrays
    
    * OffsetArrays
    
    * restore old project
    
    * remove InspectDR
    
    * RecipesBase
    
    * use this repo
    
    * resolve in one go
    BeastyBlacksmith authored Aug 28, 2024
    Configuration menu
    Copy the full SHA
    8bb247a View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. CI fixes v2 (#4980)

    * CI fixes (#4974)
    
    * Update tests for Latexify 0.16.5
    
    Behaviour was changed such that ã becomes \tilde{a}, instead of
    \textnormal{\~{a}}.
    
    * Test Julia 1.6 on x86 macOS instead of ARM
    
    See: https://discourse.julialang.org/t/how-to-fix-github-actions-ci-failures-with-julia-1-6-or-1-7-on-macos-latest-and-macos-14/117019
    
    * Bump GR compat and Plots version number
    
    * update plotly show methods for PlotlyKaleido v2
    
    * remove Pkg
    
    * add it back
    
    ---------
    
    Co-authored-by: Simon Christ <[email protected]>
    
    * Don't need to edit CI for 1.6 as no longer supported
    
    * Don't test GR/50 on macOS
    
    * Reorganise failing tests
    
     - Disabled reference tests 25 and 30, which require StatsPlots support,
       for all backends (in PlotsBase/src/examples.jl)
     - Separate tests that are skipped and tests that are known to be broken
       due to upstream issues
     - Re-enable reference test 41 as upstream issue has been fixed
       (JuliaLang/julia#47261)
     - Disable reference test 50 because of upstream issue
       (jheinen/GR.jl#550)
    
    ---------
    
    Co-authored-by: Simon Christ <[email protected]>
    penelopeysm and BeastyBlacksmith authored Sep 10, 2024
    Configuration menu
    Copy the full SHA
    4bae77b View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. CompatHelper: add new compat entry for IJulia in [weakdeps] at versio…

    …n 1, (keep existing compat) (#4986)
    
    Co-authored-by: CompatHelper Julia <[email protected]>
    github-actions[bot] and CompatHelper Julia authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    0d6f0b4 View commit details
    Browse the repository at this point in the history
  2. CompatHelper: add new compat entry for FileIO in [weakdeps] at versio…

    …n 1, (keep existing compat) (#4985)
    
    Co-authored-by: CompatHelper Julia <[email protected]>
    github-actions[bot] and CompatHelper Julia authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    bec14d1 View commit details
    Browse the repository at this point in the history
  3. CompatHelper: add new compat entry for GeometryBasics in [weakdeps] a…

    …t version 0.4, (keep existing compat) (#4984)
    
    Co-authored-by: CompatHelper Julia <[email protected]>
    Co-authored-by: Simon Christ <[email protected]>
    3 people authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    2696246 View commit details
    Browse the repository at this point in the history
  4. CompatHelper: add new compat entry for Unitful in [weakdeps] at versi…

    …on 1, (keep existing compat) (#4983)
    
    Co-authored-by: CompatHelper Julia <[email protected]>
    github-actions[bot] and CompatHelper Julia authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    9c256c9 View commit details
    Browse the repository at this point in the history
  5. CompatHelper: add new compat entry for ImageInTerminal in [weakdeps] …

    …at version 0.5, (keep existing compat) (#4982)
    
    Co-authored-by: CompatHelper Julia <[email protected]>
    Co-authored-by: Simon Christ <[email protected]>
    3 people authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    5a611ce View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. GR backend: use textext for :log2 and :ln axis scaling (#4991) (#4993)

    This fixes #4871
    
    Only the case of :log10 has been treated before.
    pjaap authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    f000fc7 View commit details
    Browse the repository at this point in the history
  2. RecipesPipeline: GroupBy: apply idxfilter to errorbars (#4967)

    * RecipesPipeline: GroupBy: apply idxfilter to errorbars too
    
    Fixes #4917
    
    * modifiy .zenodo.json
    
    ---------
    
    Co-authored-by: Simon Christ <[email protected]>
    lukas-weber and BeastyBlacksmith authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    17b6ca0 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. Configuration menu
    Copy the full SHA
    7b37fd5 View commit details
    Browse the repository at this point in the history
  2. Update ci.yml

    ViralBShah authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    efcbdba View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. Merge pull request #4994 from JuliaPlots/ViralBShah-patch-1

    Update ci.yml for aarch64 mac
    ViralBShah authored Oct 4, 2024
    Configuration menu
    Copy the full SHA
    7b0ae81 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. Configuration menu
    Copy the full SHA
    049bba8 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. Bump peter-evans/create-pull-request from 6 to 7 (#4981)

    Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6 to 7.
    - [Release notes](https://github.com/peter-evans/create-pull-request/releases)
    - [Commits](peter-evans/create-pull-request@v6...v7)
    
    ---
    updated-dependencies:
    - dependency-name: peter-evans/create-pull-request
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 9, 2024
    Configuration menu
    Copy the full SHA
    19e3073 View commit details
    Browse the repository at this point in the history
  2. Adding uparrow as a predefined marker and creating unfilled markersha…

    …pes (#4977)
    
    * :uparrow and :downarrow markershapes are now defined as well as markercolor=nothing creates an unfilled open arrow shape
    
    * Changes to update markerstrokecolor
    
    * Added myself to .zenodo.json
    
    * add special :arrow markershape for sticks
    
    * improve arrowshape
    
    * update tests
    
    * fix custom markershapes
    
    * remove extensions from Plots project file
    
    ---------
    
    Co-authored-by: Simon Christ <[email protected]>
    Co-authored-by: Simon Christ <[email protected]>
    3 people authored Oct 9, 2024
    Configuration menu
    Copy the full SHA
    f137efb View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2024

  1. Configuration menu
    Copy the full SHA
    fa63411 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2024

  1. fix docs on v2 (#4999)

    * fix docs on v2
    
    * fix test
    
    * unexport center, too generic
    
    * update
    t-bltg authored Oct 13, 2024
    Configuration menu
    Copy the full SHA
    c1cfa30 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    46c6361 View commit details
    Browse the repository at this point in the history
  3. Update ci_build.sh

    t-bltg authored Oct 13, 2024
    Configuration menu
    Copy the full SHA
    379b5b2 View commit details
    Browse the repository at this point in the history
  4. Update ci_build.sh

    t-bltg authored Oct 13, 2024
    Configuration menu
    Copy the full SHA
    861f892 View commit details
    Browse the repository at this point in the history
  5. Update ci_build.sh

    t-bltg authored Oct 13, 2024
    Configuration menu
    Copy the full SHA
    31840f9 View commit details
    Browse the repository at this point in the history
  6. update docs (#5001)

    t-bltg authored Oct 13, 2024
    Configuration menu
    Copy the full SHA
    cc021f6 View commit details
    Browse the repository at this point in the history
  7. Update build-docs.sh

    t-bltg authored Oct 13, 2024
    Configuration menu
    Copy the full SHA
    12d1a41 View commit details
    Browse the repository at this point in the history
  8. add Pkg.precompile

    t-bltg authored Oct 13, 2024
    Configuration menu
    Copy the full SHA
    f7ed0f7 View commit details
    Browse the repository at this point in the history
  9. change urls in docs/make.jl

    t-bltg authored Oct 13, 2024
    Configuration menu
    Copy the full SHA
    27d0c52 View commit details
    Browse the repository at this point in the history
  10. restore test order in ci

    t-bltg authored Oct 13, 2024
    Configuration menu
    Copy the full SHA
    38c6c95 View commit details
    Browse the repository at this point in the history
  11. prevent segfault

    t-bltg authored Oct 13, 2024
    Configuration menu
    Copy the full SHA
    324fb8e View commit details
    Browse the repository at this point in the history
  12. add MPLBACKEND to ci script

    t-bltg authored Oct 13, 2024
    Configuration menu
    Copy the full SHA
    fb045e0 View commit details
    Browse the repository at this point in the history
  13. fix url in docs build script

    t-bltg authored Oct 13, 2024
    Configuration menu
    Copy the full SHA
    a6562c1 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. use devbranch in docs/make.jl

    t-bltg authored Oct 14, 2024
    Configuration menu
    Copy the full SHA
    52c6340 View commit details
    Browse the repository at this point in the history
  2. revert devbranch changes

    t-bltg authored Oct 14, 2024
    Configuration menu
    Copy the full SHA
    c4ca40d View commit details
    Browse the repository at this point in the history