python-flot-utils icon indicating copy to clipboard operation
python-flot-utils copied to clipboard

Doco sample and reality differs

Open LarsStavholm opened this issue 14 years ago • 4 comments

The sample code says graph.series_json returns

"[{"data": [[1, 1], [2, 2], [3, 3]]}]"

...whereas in reality my sample code returns

"[{"line": {"show": true}, {"data": [[1, 1], [2, 2], [3, 3]]}]"

Using latest pyflot from github as of today, latest jQuery, python 2.7.1.

It would appear that the "line" part should have been in options. Needless to say, no graph is shown. Removing the "line" part allows for graph to show.

What's the story?

LarsStavholm avatar Mar 21 '11 14:03 LarsStavholm

I had to "patch" the code to use it on my system. I think "line" should be "lines".

lorexvii avatar May 25 '12 12:05 lorexvii

It's kind of lame... =/ the basic stuff don't work and it's published in PIP.... com'on don't put in pip things that are not working(not even the most basic).... @lorexvii did you made a pull request?

arruda avatar Dec 02 '12 23:12 arruda

No, I didn't.

Greets from Italy

lorenzo

On 3 Dec 2012, at 00:12, Felipe Arruda Pontes [email protected] wrote:

It's kind of lame... =/ the basic stuff don't work and it's published in PIP.... com'on don't put in pip things that are not working(not even the most basic).... @lorexvii did you made a pull request?

— Reply to this email directly or view it on GitHub.

lorexvii avatar Dec 03 '12 21:12 lorexvii

=/ I'm trying to do a fix myself, not sure if it's ok

Greets from Brazil =)

Arruda

Felipe Arruda Pontes arruda.blog.br

2012/12/3 lorexvii [email protected]

No, I didn't.

Greets from Italy

lorenzo

On 3 Dec 2012, at 00:12, Felipe Arruda Pontes [email protected] wrote:

It's kind of lame... =/ the basic stuff don't work and it's published in PIP.... com'on don't put in pip things that are not working(not even the most basic).... @lorexvii did you made a pull request?

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/unbracketed/python-flot-utils/issues/1#issuecomment-10974022.

arruda avatar Dec 03 '12 23:12 arruda