Giter Club home page Giter Club logo

Comments (6)

anntzer avatar anntzer commented on June 7, 2024 1

Sorry, that return should have been a return manager, I think. Not in front of my computer right now so feel free to make a pr out of the suggestion, or I'll do one when I can.

from matplotlib-inline.

fperez avatar fperez commented on June 7, 2024 1

Thx @1kastner for the fix! I just pushed 0.1.6 with this fix to PyPI, should be up on conda-forge soon.

Sorry @sryza for the hassles and thx for the prompt report.

from matplotlib-inline.

fperez avatar fperez commented on June 7, 2024 1

No, there aren't - yesterday I was very pressed for time and basically had to decide "do I spend the window I have adding some CI/tests to this, or do I finish this release quickly so the manual fix is out?" And I went for the latter, but given all my preaching about good testing, I felt bad about it :)

This package is tiny and moves very rarely, so in the past it hasn't been too terrible, but I 100% agree we should. Even putting in a few high-level tests in a notebook would be useful.

I'll try to find the time for that now that 0.1.6 is out and we're back where we needed to, but feel free to beat me to it!

from matplotlib-inline.

1kastner avatar 1kastner commented on June 7, 2024 1

I completely feel you! Some aspects can be tested better, such as "does this throw an exception in situations it should not", and some worse, such as "does it look beautiful". I have seen projects where they started a pixel-wise comparison of the expected and intended output. I believe humans are better in that task and it might be over the top for this project. But it is one important step to make the decision where to draw the line. I guess unittesting might be helpful but time-consuming as well.

If there is some testing infrastructure in place that the leading maintainers are all happy with, I could add one or two automated tests as well - probably some nbconvert invocations or something similar.

from matplotlib-inline.

1kastner avatar 1kastner commented on June 7, 2024

Thanks a lot, I have done as you have proposed!

from matplotlib-inline.

1kastner avatar 1kastner commented on June 7, 2024

@fperez thanks for the fast reaction and no worries. I just checked the repository and I was wondering whether there are any automated checks in place for the code? For example, unittests or Python type hints in combination with code linting might have helped to spot such an issue before release. I am just saying this because many, many people rely on this package.

from matplotlib-inline.

Related Issues (17)

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.