JuliaPy / JuliaPy/PyPlot.jl

how to set xdate format from " May 6 2008" to "2008-05-06"?

Open
#235 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
488
Forks
90
PR merge metrics
No merged PRs in 30d

Description

```
using PyPlot;
clf();
close();
fig =figure();
ax = fig[:add_subplot](111)
x = [Date(now()) + Dates.Day(i) for i in collect(1:100)]
y = rand(100)
ax[:plot](x,y, color="red", linewidth=2.0, linestyle="-")

```

but i get x autofmt_xdate ,format such as " May 6 2008"
how to set xdate format as "2008-05-06"?
thanks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.