-
Notifications
You must be signed in to change notification settings - Fork 981
Closed
Description
Improve documentation or add method
Feature description:
Having a plot that I needed to take a picture of, without anything extra I discovered plt.Frameless();
There however did not seem to be any apparent way of going back to default layout.
Through looking at source I found plt.Frameless(false); did the trick.
Scott was very helpful on Discord, as always, and suggested I make this ticket and also wrote:
I think we could make it more discoverable somehow (and better documented in the cookbook)
Maybe we could put layout helper methods in a class so they're grouped together like:
Plot.SetLayout.Automatic();
Plot.SetLayout.Frameless();
Plot.SetLayout.Fixed(dataRect);// a code sample may improve communication
var plt = new ScottPlot.Plot();
plt.Frameless();
// do something
plt.SaveFig("myMeme.png");
// ....
plt.Frameless(false); // or
plt.Automatic(); // that would do the above, reset padding if it was manually set etc.Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels