colors has no field TwoSlopeNorm
Đang mở
- 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ả
Hi everyone,
It appears that "colors" function imported from matplotlib does not have "Normalize" or "TwoSlopeNorm" field.
Any idea about this?
`using PyPlot`
`vmin, vmax = -1, 1`
`norm = colors.TwoSlopeNorm(vmin=vmin, vcenter=0., vmax=vmax)`
ERROR: type #colors has no field TwoSlopeNorm
Anyways, my goal is to set the colorbar zero at center with symmetric color range.
```
pcolormesh(data, cmap="RdBu_r", norm = norm, shading="auto")
Colorbar()
```
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á.