Skip to content

Plotting issue with IV curve gallery example? #1894

Closed

Description

@williamhobbs

Describe the bug
When I run the IV curve example (https://pvlib-python.readthedocs.io/en/stable/gallery/iv-modeling/plot_singlediode.html), the annotation arrows show up in a second figure:

image

If I move plt.show() from the current line down below the draw_arrow functions, it looks correct:
image

Is this a bug? Or maybe there's something different with my setup?

Activity

  1. kandersolar commented on Oct 20, 2023

    @kandersolar
    Member

    I see no reason to call plt.show() before finishing the figure assembly. Its current placement in the code was probably an oversight. A PR to fix it would be welcome!

  2. williamhobbs commented on Oct 20, 2023

    @williamhobbs
    ContributorAuthor

    PR submitted!

  3. added this to the v0.10.3 milestone on Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions