Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
kwant
kwant
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 113
    • Issues 113
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 17
    • Merge Requests 17
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Packages
    • Packages
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • kwant
  • kwantkwant
  • Issues
  • #39

Closed
Open
Opened Mar 20, 2016 by Anton Akhmerov@anton-akhmerov
  • Report abuse
  • New issue
Report abuse New issue

3D plotter failure with nontrivial sizes

To reproduce use matplotlib>=1.5.0 and try to plot a 3D system with site_size set to something. Verify that in the resulting figure fig.axes[0].collections[0].transforms have a shape (N,), and not (N, 3, 3), as would be expected by matplotlib. This results in a failure to plot inside a notebook with an inline backend.

Looking at the source code, I see that transforms get reshaped over here; my guess that's where the problem originates from.

In an interactive backend setting the sizes doesn't seem to have any effect at all (which may or may not be a separate bug).

Assignee
Assign to
Kwant 1.3.2
Milestone
Kwant 1.3.2
Assign milestone
Time tracking
None
Due date
None
4
Labels
bug difficulty: easy plotting priority: high
Assign labels
  • View project labels
Reference: kwant/kwant#39