stephane-caron / foxplot Goto Github PK
View Code? Open in Web Editor NEWPlot time series from MessagePack or line-delimited JSON
License: Apache License 2.0
Plot time series from MessagePack or line-delimited JSON
License: Apache License 2.0
It is a minor inconvenience when I plot the same fields in two different log files (e.g. when I run the same experiment with different conditions) and get different color mappings. The color mapping is random now and different every time.
It should be very easy to get a consistent mapping using ordered sets (As Python sets are not ordered by default):
foxplot/foxplot/generate_html.py
Line 89 in 2ffdb2d
Although the inconvenience is minor, the fix is very easy as well. Do you think it's a desirable property? If so, I'll create a PR.
The JSON file in test2.zip yields the following error:
Traceback (most recent call last):
File "/home/nelson/.local/bin/foxplot", line 8, in <module>
sys.exit(main())
File "/home/nelson/.local/lib/python3.8/site-packages/foxplot/cli.py", line 147, in main
series.read_from_file(file)
File "/home/nelson/.local/lib/python3.8/site-packages/foxplot/series.py", line 156, in read_from_file
new_field = os.path.join(old_field, subfield)
File "/usr/lib/python3.8/posixpath.py", line 90, in join
genericpath._check_arg_types('join', a, *p)
File "/usr/lib/python3.8/genericpath.py", line 152, in _check_arg_types
raise TypeError(f'{funcname}() argument must be str, bytes, or '
TypeError: join() argument must be str, bytes, or os.PathLike object, not 'int'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.