Thanks to visit codestin.com
Credit goes to github.com

Skip to content

zorder argument in clabel command in Tutorial02 #653

Description

@mhannonj

When attempting to run tutorial02.py in the flopy/examples/Tutorials/Tutorial02 subdirectory, I had an error issued based on the following argument from line 153:
plt.clabel(cs, inline=1, fontsize=10, fmt='%1.1f', zorder=11)

The error reads as follows:
TypeError: clabel() got an unexpected keyword argument 'zorder'

I believe the zorder argument should be removed from this command. Once I did so, the rest of the file ran fine. However, if there's a better way to solve this problem, I'd welcome it.
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions