Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Commit

Permalink
Merge pull request #415 from JuliaPlots/as/display
Browse files Browse the repository at this point in the history
Fix Juno plotpane display in CairoMakie
  • Loading branch information
asinghvi17 authored Apr 28, 2020
2 parents 45597f7 + cd488d5 commit 45ab86f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ test:
- apt-get install -y cmake xorg-dev mesa-utils # glfw
script:
- mkdir -p $JULIA_DEPOT_PATH # Pkg.jl#325
- julia --project -e 'using Pkg; pkg"add GLMakie#sd/textlayout"; pkg"build"; Pkg.test(; coverage=true)'
- julia --project -e 'using Pkg; pkg"build"; Pkg.test(; coverage=true)'
after_script:
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit_local(process_folder(), ".")'
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "AbstractPlotting"
uuid = "537997a7-5e4e-5d89-9595-2241ea00577e"
version = "0.10.5"
version = "0.10.6"

[deps]
AbstractNumbers = "85c772de-338a-5e7f-b815-41e76c26ac1f"
Expand Down
3 changes: 2 additions & 1 deletion src/display.jl
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ for M in (MIME"text/plain", MIME)
update!(scene)
res = get(io, :juno_plotsize, nothing)
res !== nothing && resize!(scene, res...)
screen = backend_show(current_backend[], io, m, scene)
ioc = IOContext(io, :full_fidelity => true, :pt_per_unit => get(io, :pt_per_unit, 0.75), :px_per_unit => get(io, :px_per_unit, 1.0))
screen = backend_show(current_backend[], ioc, m, scene)

# E.g. text/plain doesn't have a display
screen isa AbstractScreen && push_screen!(scene, screen)
Expand Down

2 comments on commit 45ab86f

@asinghvi17
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/13769

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.10.6 -m "<description of version>" 45ab86f513314c652a9b7a43f18e081c8e46ca2f
git push origin v0.10.6

Please sign in to comment.