From a4deff69f26560754055c8e2a212eacc937c6ff5 Mon Sep 17 00:00:00 2001 From: "Steven G. Johnson" Date: Thu, 30 Jul 2026 07:25:43 -0400 Subject: [PATCH 1/5] return-type fixes for axis, fill --- src/PythonPlot.jl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/PythonPlot.jl b/src/PythonPlot.jl index 2e42ff0..deb7fa4 100755 --- a/src/PythonPlot.jl +++ b/src/PythonPlot.jl @@ -180,6 +180,11 @@ for f in plt_funcs end end +# convert axis(...) return value to Julia Float64 tuple +@doc LazyHelp(pyplot,"axis") function axis(args...; kws...) + return pyconvert(NTuple{4,Float64}, pycall(pyplot."axis", args...; kws...)) +end + # rename to avoid type piracy: @doc LazyHelp(pyplot,"step") plotstep(x, y; kws...) = pycall(pyplot.step, x, y; kws...) @@ -199,7 +204,7 @@ plotclose(f::AbstractString) = pyplot.close(f) # rename to avoid type piracy: @doc LazyHelp(pyplot,"fill") plotfill(x::AbstractArray,y::AbstractArray, args...; kws...) = - pycall(pyplot.fill, PyAny, x, y, args...; kws...) + pycall(pyplot.fill, x, y, args...; kws...) # consistent capitalization with mplot3d @doc LazyHelp(pyplot,"hist2d") hist2D(args...; kws...) = pycall(pyplot.hist2d, args...; kws...) From 877b1c90cf1e9936b4f790c30832a70b71e305d4 Mon Sep 17 00:00:00 2001 From: "Steven G. Johnson" Date: Thu, 30 Jul 2026 07:28:56 -0400 Subject: [PATCH 2/5] CI update --- .github/workflows/CI.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 57d04af..4791344 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -23,12 +23,12 @@ jobs: arch: - x64 steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v7 + - uses: julia-actions/setup-julia@v3 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v1 + - uses: actions/cache@v3 env: cache-name: cache-artifacts with: @@ -41,6 +41,6 @@ jobs: - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v7 with: file: lcov.info From 54863bbf4a092ce4c4199a1b6671e84fb6854a9f Mon Sep 17 00:00:00 2001 From: "Steven G. Johnson" Date: Thu, 30 Jul 2026 07:34:56 -0400 Subject: [PATCH 3/5] use default architectures in CI --- .github/workflows/CI.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4791344..7468fe3 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -20,8 +20,6 @@ jobs: - ubuntu-latest - macOS-latest - windows-latest - arch: - - x64 steps: - uses: actions/checkout@v7 - uses: julia-actions/setup-julia@v3 From 624853b2a6273b43b0ce0a5748e7b2b5a2091f82 Mon Sep 17 00:00:00 2001 From: "Steven G. Johnson" Date: Thu, 30 Jul 2026 07:38:51 -0400 Subject: [PATCH 4/5] another try at fixing CI --- .github/workflows/CI.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 7468fe3..05fd708 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -20,6 +20,16 @@ jobs: - ubuntu-latest - macOS-latest - windows-latest + arch: + - x64 + - arm64 + exclude: + - os: macOS-latest + arch: x64 + - os: windows-latest + arch: arm64 + - os: ubuntu-latest + arch: arm64 steps: - uses: actions/checkout@v7 - uses: julia-actions/setup-julia@v3 From 0eab4c3e9cf7d8d91bfb0040fa4b9b9bdd6a0aa8 Mon Sep 17 00:00:00 2001 From: "Steven G. Johnson" Date: Thu, 30 Jul 2026 07:40:25 -0400 Subject: [PATCH 5/5] exclude 1.6 on macOS CI --- .github/workflows/CI.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 05fd708..3897f3f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -30,6 +30,8 @@ jobs: arch: arm64 - os: ubuntu-latest arch: arm64 + - os: macOS-latest + version: '1.6' steps: - uses: actions/checkout@v7 - uses: julia-actions/setup-julia@v3