Merge pull request #2133 from yha/dict-recipe
Recipe for plotting dicts
This commit is contained in:
commit
ae4031b993
@ -355,7 +355,9 @@ end
|
||||
end
|
||||
end
|
||||
|
||||
# Dicts: each entry is a data point (x,y)=(key,value)
|
||||
|
||||
@recipe f(d::AbstractDict) = collect(keys(d)), collect(values(d))
|
||||
|
||||
# function without range... use the current range of the x-axis
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user