mlreportgen.utils.HTMLDoc class
Package: mlreportgen.utils
Superclasses:
Wrap HTML file for viewing
Description
This utility wraps a .html
file into an object. You can then manipulate
the object using the methods of this utility.
Construction
wraps an HTML document file and returns it as an HTMLDoc object. The constructed HTML doc
object is not visible. To make it visible, use the docobj
= mlreportgen.utils.HTMLDoc(filename
)show
method.
Input Arguments
Output Arguments
Methods
show | Show HTML file
|
hide | Hide HTML file
|
isVisible | Test whether HTML file is visible
|
Examples
Create HTMLDoc Object and Make It Visible
This example wraps the existing MyHTMLDoc.html
file into an HTMLDoc
object.
docobj = mlreportgen.utils.HTMLDoc("MyHTMLDoc.html");
show(docobj);