Skip to content

Commit

Permalink
gr: support :pixel
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bltg committed Jul 22, 2022
1 parent 1cafdb0 commit ca2c83f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/backends.jl
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ const _gr_seriestype = [
:shape,
]
const _gr_style = [:auto, :solid, :dash, :dot, :dashdot, :dashdotdot]
const _gr_marker = _allMarkers
const _gr_marker = vcat(_allMarkers, :pixel)
const _gr_scale = [:identity, :log10]
is_marker_supported(::GRBackend, shape::Shape) = true

Expand Down
1 change: 1 addition & 0 deletions src/backends/gr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ gr_linetype(k) = (auto = 1, solid = 1, dash = 2, dot = 3, dashdot = 4, dashdotdo

gr_markertype(k) = (
auto = 1,
pixel = 1,
none = -1,
circle = -1,
rect = -7,
Expand Down

0 comments on commit ca2c83f

Please sign in to comment.