Update src/examples.jl

Co-Authored-By: Anshul Singhvi <asinghvi17@simons-rock.edu>
This commit is contained in:
Yakir Luc Gagnon 2019-07-23 14:20:02 +02:00 committed by GitHub
parent 47b5430b34
commit ee265d79a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -423,7 +423,7 @@ Parse `DateTime` correctly when used in the axes of a `heatmap` plot.
x = DateTime(2001):Dates.Year(1):DateTime(2005) x = DateTime(2001):Dates.Year(1):DateTime(2005)
y = 1:5 y = 1:5
z = rand(5,5) z = rand(5,5)
heatmap(x, y, z, title = "Heatmap with DateTime") heatmap(x, y, z, title = "Heatmap with DateTime", xformatter = Plots.dateformatter)
end)] end)]
), ),