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 #717 from JuliaPlots/pv/scatter3
Browse files Browse the repository at this point in the history
add default plottype to three vectors
  • Loading branch information
SimonDanisch authored Apr 28, 2021
2 parents e4c23b7 + b543085 commit a472953
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/interfaces.jl
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,7 @@ plottype(::Type{Any}, argvalues...) = plottype(argvalues...)
plottype(P::Type{<: Combined{T}}, argvalues...) where T = P

## specialized definitions for types
plottype(::AbstractVector, ::AbstractVector, ::AbstractVector) = Scatter
plottype(::AbstractVector, ::AbstractVector) = Scatter
plottype(::AbstractVector) = Scatter
plottype(::AbstractMatrix{<: Real}) = Heatmap
Expand Down

0 comments on commit a472953

Please sign in to comment.