mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-10-31 18:58:01 +00:00 
			
		
		
		
	lf_graph.py: lf_graph had a very confusing assignment for init values which was unstable. Needs further work, but this will work for now.
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
		| @@ -202,8 +202,6 @@ class lf_scatter_graph: | |||||||
|             _y_data_set = [[30, 55, 69, 37]] |             _y_data_set = [[30, 55, 69, 37]] | ||||||
|         if _label is None: |         if _label is None: | ||||||
|             _label = ["num1", "num2"] |             _label = ["num1", "num2"] | ||||||
|         if _color is None: |  | ||||||
|             _color = ["r", "y"] |  | ||||||
|         self.x_data_set = _x_data_set |         self.x_data_set = _x_data_set | ||||||
|         self.y_data_set = _y_data_set |         self.y_data_set = _y_data_set | ||||||
|         self.xaxis_name = _xaxis_name |         self.xaxis_name = _xaxis_name | ||||||
| @@ -280,8 +278,6 @@ class lf_stacked_graph: | |||||||
|             _data_set = [[1, 2, 3, 4], [1, 1, 1, 1], [1, 1, 1, 1]] |             _data_set = [[1, 2, 3, 4], [1, 1, 1, 1], [1, 1, 1, 1]] | ||||||
|         if _label is None: |         if _label is None: | ||||||
|             _label = ['Success', 'Fail'] |             _label = ['Success', 'Fail'] | ||||||
|         if _color is None: |  | ||||||
|             _color = ["b", "g"] |  | ||||||
|         self.data_set = _data_set  # [x_axis,y1_axis,y2_axis] |         self.data_set = _data_set  # [x_axis,y1_axis,y2_axis] | ||||||
|         self.xaxis_name = _xaxis_name |         self.xaxis_name = _xaxis_name | ||||||
|         self.yaxis_name = _yaxis_name |         self.yaxis_name = _yaxis_name | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Matthew Stidham
					Matthew Stidham