@@ -838,6 +838,52 @@ def __init__(self, pb2_object: Optional[PdmObject_pb2.PdmObject]=None, channel:
838838 if GridSummaryCase .__custom_init__ is not None :
839839 GridSummaryCase .__custom_init__ (self , pb2_object = pb2_object , channel = channel )
840840
841+ class PlotWindow (ViewWindow ):
842+ """
843+ The Abstract base class for all MDI Windows in the Plot Window
844+
845+ Attributes:
846+ id (int): View ID
847+ """
848+ __custom_init__ = None #: Assign a custom init routine to be run at __init__
849+
850+ def __init__ (self , pb2_object : Optional [PdmObject_pb2 .PdmObject ]= None , channel : Optional [grpc .Channel ]= None ) -> None :
851+ self .id : int = - 1
852+ ViewWindow .__init__ (self , pb2_object , channel )
853+ if PlotWindow .__custom_init__ is not None :
854+ PlotWindow .__custom_init__ (self , pb2_object = pb2_object , channel = channel )
855+
856+ class Plot (PlotWindow ):
857+ """
858+ The Abstract Base Class for all Plot Objects
859+
860+ """
861+ __custom_init__ = None #: Assign a custom init routine to be run at __init__
862+
863+ def __init__ (self , pb2_object : Optional [PdmObject_pb2 .PdmObject ]= None , channel : Optional [grpc .Channel ]= None ) -> None :
864+ PlotWindow .__init__ (self , pb2_object , channel )
865+ if Plot .__custom_init__ is not None :
866+ Plot .__custom_init__ (self , pb2_object = pb2_object , channel = channel )
867+
868+ class HistogramPlot (Plot ):
869+ """
870+ A Histogram Plot
871+
872+ Attributes:
873+ is_using_auto_name (bool): Auto Title
874+ normalize_curve_y_values (bool): Normalize all curves
875+ plot_description (str): Name
876+ """
877+ __custom_init__ = None #: Assign a custom init routine to be run at __init__
878+
879+ def __init__ (self , pb2_object : Optional [PdmObject_pb2 .PdmObject ]= None , channel : Optional [grpc .Channel ]= None ) -> None :
880+ self .is_using_auto_name : bool = True
881+ self .normalize_curve_y_values : bool = False
882+ self .plot_description : str = "Histogram Plot"
883+ Plot .__init__ (self , pb2_object , channel )
884+ if HistogramPlot .__custom_init__ is not None :
885+ HistogramPlot .__custom_init__ (self , pb2_object = pb2_object , channel = channel )
886+
841887class IntersectionCollection (PdmObjectBase ):
842888 __custom_init__ = None #: Assign a custom init routine to be run at __init__
843889
@@ -1845,21 +1891,6 @@ def stim_plan_models(self) -> List[StimPlanModel]:
18451891 return self .children ("StimPlanModels" , StimPlanModel )
18461892
18471893
1848- class PlotWindow (ViewWindow ):
1849- """
1850- The Abstract base class for all MDI Windows in the Plot Window
1851-
1852- Attributes:
1853- id (int): View ID
1854- """
1855- __custom_init__ = None #: Assign a custom init routine to be run at __init__
1856-
1857- def __init__ (self , pb2_object : Optional [PdmObject_pb2 .PdmObject ]= None , channel : Optional [grpc .Channel ]= None ) -> None :
1858- self .id : int = - 1
1859- ViewWindow .__init__ (self , pb2_object , channel )
1860- if PlotWindow .__custom_init__ is not None :
1861- PlotWindow .__custom_init__ (self , pb2_object = pb2_object , channel = channel )
1862-
18631894class DepthTrackPlot (PlotWindow ):
18641895 """
18651896 Attributes:
@@ -2126,18 +2157,6 @@ def __init__(self, pb2_object: Optional[PdmObject_pb2.PdmObject]=None, channel:
21262157 if SummaryCaseSumo .__custom_init__ is not None :
21272158 SummaryCaseSumo .__custom_init__ (self , pb2_object = pb2_object , channel = channel )
21282159
2129- class Plot (PlotWindow ):
2130- """
2131- The Abstract Base Class for all Plot Objects
2132-
2133- """
2134- __custom_init__ = None #: Assign a custom init routine to be run at __init__
2135-
2136- def __init__ (self , pb2_object : Optional [PdmObject_pb2 .PdmObject ]= None , channel : Optional [grpc .Channel ]= None ) -> None :
2137- PlotWindow .__init__ (self , pb2_object , channel )
2138- if Plot .__custom_init__ is not None :
2139- Plot .__custom_init__ (self , pb2_object = pb2_object , channel = channel )
2140-
21412160class SummaryPlot (Plot ):
21422161 """
21432162 A Summary Plot
@@ -2716,6 +2735,7 @@ def class_dict() -> Dict[str, Type[PdmObjectBase]]:
27162735 classes ['GridCaseGroup' ] = GridCaseGroup
27172736 classes ['GridCaseSurface' ] = GridCaseSurface
27182737 classes ['GridSummaryCase' ] = GridSummaryCase
2738+ classes ['HistogramPlot' ] = HistogramPlot
27192739 classes ['IntersectionCollection' ] = IntersectionCollection
27202740 classes ['MeshFractureTemplate' ] = MeshFractureTemplate
27212741 classes ['ModeledWellPath' ] = ModeledWellPath
0 commit comments