Accept both row and column vectors in plot()
Đang mở
enhancement
- Ngôn ngữ chính
- Julia
- Star
- 488
- Fork
- 90
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
It would be nice if the `plot()` command could accept row vectors as well as column vectors. As it is now, this code doesn't work:
```
julia> x = [1 2 3 4];
julia> y = [2 3 5 8];
julia> plot(x,y)
```
The reason is that Matplotlib is finicky about accepting row vectors vs column vectors. This is a needless limitation in Matplotlib that prevents some simple examples from working correctly. To get around this limitation, PyPlot could/should transpose the vectors as needed before giving them to Matplotlib. It is an easy fix that would make the PyPlot more useful.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.