MCPcopy Create free account
hub / github.com/AutoViML/AutoViz / add_subheading

Method add_subheading

autoviz/AutoViz_Class.py:179–189  ·  view source on GitHub ↗

This is a simple program to append the input chart to the right variable named plotname which is an attribute of class AV. So make sure that the plotname var matches an exact variable name defined in class AV. Otherwise, this will give an error.

(self, plotname, X)

Source from the content-addressed store, hash-verified

177 getattr(self, plotname)["plots"].append(X)
178
179 def add_subheading(self, plotname, X):
180 """
181 This is a simple program to append the input chart to the right variable named plotname
182 which is an attribute of class AV. So make sure that the plotname var matches an exact
183 variable name defined in class AV. Otherwise, this will give an error.
184 """
185 if X is None:
186 ### If there is nothing to add, leave it as it is.
187 pass
188 else:
189 getattr(self, plotname)["subheading"].append(X)
190
191 def AutoViz(self, filename: (str or pd.DataFrame), sep=',', depVar='', dfte=None, header=0, verbose=1,
192 lowess=False, chart_format='svg', max_rows_analyzed=150000,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected