Code Monkey home page Code Monkey logo

eca's People

Contributors

bwanders avatar janflokstra avatar marten-voorberg avatar matthijsreyers avatar mvankeulen avatar xynxynxyn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

eca's Issues

Rolling chart does not plot zeros.

When plotting a continuous stream of integers the rolling chart will not chart zeros and instead place a gap whenever an attempt to do so is made.

This is clearly caused by line 74 in /lib/charts.js

data[k].push(message.values[k] || null);

I have a local branch with bug fix ready, but I was just wondering if this is maybe intended behaviour?
If not I could create I pull request.

charts.rolling_chart doens't accept 0 values

As the title says. If you want to add a data point with value 0, you must enter 0.0001.
The graph won't update with a data point of 0, and will jump leaving a gap in the graph on the next non 0 data point

Deprecated usage of collections.Mapping is removed in Python 3.10

The class collections.Mapping has been moved to collections.abc in python 3.3. It has remained possible to use it from collections, but this changed in python 3.10. See "bpo-37324: Remove deprecated aliases to Collections Abstract Base Classes from the collections module." in https://docs.python.org/3/whatsnew/changelog.html. The ECA framework now does not run on Python 3.10. This is easily fixed by changing the imports.

The following changes need to be made (I tried to push them to a branch, but I lack permissions):
Change from collections import namedtuple, Mapping to from collections import namedtuple from collections.abc import Mapping in eca/sessions.py. and changing collections.Mapping to collections.abc.Mapping on line 105 of eca/http.py and on line 124 of eca/_init__.py.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.