Skip to content

Commit

Permalink
key_position
Browse files Browse the repository at this point in the history
  • Loading branch information
montyvesselinov committed Jul 16, 2019
1 parent 8ca0525 commit f72b9cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/MadsPlot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1155,15 +1155,15 @@ function plotseries(X::AbstractArray, filename::String=""; nT=size(X, 1), nS=siz

geometry = (plotline) ? [Gadfly.Geom.line(), Gadfly.Theme(line_width=linewidth)] : [Gadfly.Theme(point_size=pointsize, highlight_width=0Gadfly.pt)]
recursivemkdir(filename)
if !colorkey
key_position=:none
if !colorkey || nS == 1
key_position = :none
end
if combined
hsize_plot = hsize
vsize_plot = vsize
ncolors = length(colors)
if ncolors == 1
key_position=:none
key_position = :none
c = [Gadfly.layer(x=xaxis, y=X[:,i],
geometry...,
Gadfly.Theme(line_width=linewidth, point_size=pointsize, highlight_width=0Gadfly.pt, default_color=Colors.RGBA(parse(Colors.Colorant, colors[1]), opacity)))
Expand Down

2 comments on commit f72b9cb

@montyvesselinov
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/2050

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 Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v0.7.2 -m "<description of version>" f72b9cbd3a6c3d652c875f162be8efa5b0f8fb9d
git push origin v0.7.2

Please sign in to comment.