Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • prodimopy prodimopy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ProDiMo
  • prodimopyprodimopy
  • Issues
  • #6

Closed
Open
Created Sep 30, 2022 by Christian Rab@c.rabMaintainer

matplotlib warning in plot_heat_cool

When using plot_heat_cool with some newer matplotlib > 3.4 I guess one gets this warning if using plot_heat_cool

prodimopy/plot.py:2547: UserWarning: The input coordinates to pcolormesh are interpreted as cell centers, but are not monotonically increasing or decreasing. This may lead to incorrectly calculated cell edges, in which case, please supply explicit cell edges to pcolormesh.
  axh.pcolormesh(model.x,z,max_idx,linewidth=0,cmap=cMap,rasterized=True)

The plot looks still okay, but it needs to be checked how to do this correctly.

Assignee
Assign to
Time tracking