X Tutup
Skip to content

legend doesn't show all markers #7653

@nbecker

Description

@nbecker

To help us understand and resolve your issue please check that you have provided
the information below.

  • Matplotlib version, Python version and Platform (Windows, OSX, Linux ...)
    matplotlib-2.0.0rc2.dist-info python3.5 fedora 25 linux
  • How did you install Matplotlib and Python (pip, anaconda, from source ...)
    pip3 install --pre --upgrade --user matplotlib
  • If possible please supply a Short, Self Contained, Correct, Example
    that demonstrates the issue i.e a small piece of code which reproduces the issue
    and can be run with out any other (or as few as possible) external dependencies.
    This is not (yet) self-contained, but the code is
def plot_alloc_vs_sent (df):
    ax = df.plot(y='DataBytesSent', marker='x', linestyle='solid')
    df.plot(y='TotalAllocBytes', marker='o', ax=ax, linestyle='dotted')
    #df.plot(y='backlog', marker='^', ax=ax, linestyle='dotted')
    df.plot(y='queue', marker='<', ax=ax, linestyle='dotted')
    plt.grid()
    plt.show()

where df is a pandas [DataFrame]

  • If this is an image generation bug attach a screenshot demonstrating the issue.
    figure1.pdf

  • If this is a regression (Used to work in an earlier version of Matplotlib), please
    note where it used to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup