Skip to content

When zooming a triangle is rendered instead of a rectangle. #5052

Closed

Description

@andnovar

Mpl is sending the number of vertex that are at least visible, for instance if the rectangle drawn is inside the bar it will send 0 paths since no paths are enclosed in that area. In the case of enclosing the right line it tries to create a mesh with the origin and the line enclosed. In the case of enclosing the left line since the origin and the line have the same y is just shown the line. This happens as well in Gtk and in none of the Agg backends neither backend_kivyagg. There is some clipping problem here.

screenshot from 2015-08-21 12 51 27
screenshot from 2015-08-21 12 51 35

Activity

  1. jenshnielsen commented on Sep 15, 2015

    @jenshnielsen
    Member

    This happens as well in Gtk and in none of the Agg backends neither backend_kivyagg.

    Can you clarify this a bit? Does it only happen in Gtk or in the Agg backends too?

  2. WeatherGod commented on Sep 15, 2015

    @WeatherGod
    Member

    I parsed that sentence to mean that any AGG-based backends are immune to
    this problem, including his implementation of kivyagg backend, while his
    "kivy" backend and our "gtk" backends suffer from this problem. This could
    possibly point to an issue that might have been fixed in AGG, but we
    completely forgot to address it in the "pure" backends? Makes me wonder if
    any of our vector backends suffer from this?

    On Tue, Sep 15, 2015 at 6:46 AM, Jens Hedegaard Nielsen <
    notifications@github.com> wrote:

    This happens as well in Gtk and in none of the Agg backends neither
    backend_kivyagg.
    Can you clarify this a bit? Does it only happen in Gtk or in the Agg
    backends too?

    —
    Reply to this email directly or view it on GitHub
    #5052 (comment)
    .

  3. tacaswell commented on Sep 15, 2015

    @tacaswell
    Member

    This is related to kivy-garden/garden.matplotlib#16

    We special case this in the SVG backend and I suspect the pdf/ps backends as well.

  4. mdboom commented on Sep 15, 2015

    @mdboom
    Member

    I don't know if this helps: Clipping should be explicitly disabled on filled paths. The algorithm used does not support clipped paths.

  5. tacaswell commented on Feb 15, 2016

    @tacaswell
    Member

    Might be related to #5955

  6. tacaswell commented on Jul 29, 2016

    @tacaswell
    Member

    @andnovar Is this still a problem?

  7. andnovar commented on Jul 29, 2016

    @andnovar
    Author

    @tacaswell I think this got fixed with the latest release, not sure though. I'll confirm tonight.

  8. anntzer commented on Mar 19, 2018

    @anntzer
    Contributor

    Fixed, if I understand correctly. Feel free to request a reopen otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions