Skip to content

Commit

Permalink
Minor code refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ncguilbeault committed May 20, 2024
1 parent 5a380ad commit b0508a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
5 changes: 1 addition & 4 deletions src/Bonsai.ML.Visualizers/HeatMapSeriesOxyPlotBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@ internal class HeatMapSeriesOxyPlotBase : UserControl

public ToolStripComboBox RenderMethodComboBox => renderMethodComboBox;

public StatusStrip StatusStrip
{
get => statusStrip;
}
public StatusStrip StatusStrip => statusStrip;

/// <summary>
/// Constructor of the TimeSeriesOxyPlotBase class.
Expand Down
12 changes: 3 additions & 9 deletions src/Bonsai.ML.Visualizers/TimeSeriesOxyPlotBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,16 @@ internal class TimeSeriesOxyPlotBase : UserControl
/// <summary>
/// DateTime value that determines the starting time of the data values.
/// </summary>
public DateTime StartTime {get;set;}
public DateTime StartTime { get; set; }

/// <summary>
/// Integer value that determines how many data points should be shown along the x axis.
/// </summary>
public int Capacity { get; set; }

public ToolStripComboBox ComboBox
{
get => comboBox;
}
public ToolStripComboBox ComboBox => comboBox;

public StatusStrip StatusStrip
{
get => statusStrip;
}
public StatusStrip StatusStrip => statusStrip;

/// <summary>
/// Constructor of the TimeSeriesOxyPlotBase class.
Expand Down

0 comments on commit b0508a1

Please sign in to comment.