Skip to content

plots with no data render as a black square #313

@swharden

Description

@swharden

Plots look odd until data is plotted

var plt = new ScottPlot.Plot(400, 300);
plt.Title("empty plot");
plt.SaveFig("test.png");

image

This is jarring for user controls because as soon as you cick/drag, grid lines and tick labels appear.

Interestingly, just setting the axis solves this.

plt.AxisAuto();

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions