Fix self.type variable name in Analytics solution (#16965)
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
af5f2473a9
commit
75b6733678
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ class Analytics(BaseSolution):
|
||||||
self.canvas = FigureCanvas(self.fig) # Set common axis properties
|
self.canvas = FigureCanvas(self.fig) # Set common axis properties
|
||||||
self.ax.set_facecolor(self.bg_color)
|
self.ax.set_facecolor(self.bg_color)
|
||||||
self.color_mapping = {}
|
self.color_mapping = {}
|
||||||
self.ax.axis("equal") if type == "pie" else None # Ensure pie chart is circular
|
self.ax.axis("equal") if self.type == "pie" else None # Ensure pie chart is circular
|
||||||
|
|
||||||
def process_data(self, im0, frame_number):
|
def process_data(self, im0, frame_number):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue