JuliaPy / JuliaPy/PyPlot.jl

plot causes weird error "invalid numeric constant"

未关闭
#13 25 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Julia
星标
488
派生
90
PR 合并指标
30 天内没有已合并 PR

描述

I discovered something strange when using plot from PyPlot:

``` julia
julia> 1.0
1.0
julia> using PyPlot
julia> 1.0
1.0
julia> plot([1,2,3])
1-element Any Array:
PyObject
julia> 1.0
ERROR: syntax: invalid numeric constant 1.0
```

Any ideas?

Version info:

```
Julia Version 0.2.0-prerelease+3183
Commit 8752713 2013-08-12 13:11:09 UTC
Platform Info:
System: Linux (x86_64-linux-gnu)
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY)
LAPACK: libopenblas
LIBM: libopenlibm
```

贡献指南

这个仓库没有索引到贡献指南

调研方向

Reproduce the error using Julia 0.2, PyPlot, and the plot([1,2,3]) entry point shown in the report. Investigate why evaluating 1.0 fails only after plotting, and verify that subsequent numeric evaluation works without the invalid numeric constant error.

由索引模型根据 Issue 内容生成。

评估

技术栈
julia, python
领域
data-visualization
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。