@@ -14,8 +14,35 @@ def get_all_classes_and_packages():
14
14
classes = {}
15
15
packages = {}
16
16
17
- # Excluded classes (deprecated lowercase version of Histogram2dContour)
18
- excluded_classes = {"plotly.graph_objects.Histogram2dcontour" }
17
+ # Excluded classes - deprecated classes from _deprecations.py (except mapbox ones)
18
+ excluded_classes = {
19
+ "plotly.graph_objects.Histogram2dcontour" , # original exclusion
20
+ # Deprecated classes from _deprecations.py (excluding mapbox-related ones)
21
+ "plotly.graph_objects.Data" ,
22
+ "plotly.graph_objects.Annotations" ,
23
+ "plotly.graph_objects.Frames" ,
24
+ "plotly.graph_objects.AngularAxis" ,
25
+ "plotly.graph_objects.Annotation" ,
26
+ "plotly.graph_objects.ColorBar" ,
27
+ "plotly.graph_objects.Contours" ,
28
+ "plotly.graph_objects.ErrorX" ,
29
+ "plotly.graph_objects.ErrorY" ,
30
+ "plotly.graph_objects.ErrorZ" ,
31
+ "plotly.graph_objects.Font" ,
32
+ "plotly.graph_objects.Legend" ,
33
+ "plotly.graph_objects.Line" ,
34
+ "plotly.graph_objects.Margin" ,
35
+ "plotly.graph_objects.Marker" ,
36
+ "plotly.graph_objects.RadialAxis" ,
37
+ "plotly.graph_objects.Scene" ,
38
+ "plotly.graph_objects.Stream" ,
39
+ "plotly.graph_objects.XAxis" ,
40
+ "plotly.graph_objects.YAxis" ,
41
+ "plotly.graph_objects.ZAxis" ,
42
+ "plotly.graph_objects.XBins" ,
43
+ "plotly.graph_objects.YBins" ,
44
+ "plotly.graph_objects.Trace" ,
45
+ }
19
46
20
47
def inspect_module (module , prefix = "" ):
21
48
for name in dir (module ):
@@ -155,9 +182,6 @@ def generate_main_index(classes, packages, output_dir):
155
182
uncategorized = []
156
183
157
184
for short_name , full_name in top_level :
158
- is_deprecated , _ = get_deprecation_info (classes [full_name ])
159
- if is_deprecated :
160
- continue
161
185
found = False
162
186
for cat , cat_classes in categories .items ():
163
187
if short_name in cat_classes :
0 commit comments