Module pandas_profiling.report.presentation.flavours.html.toggle_button

Expand source code
from pandas_profiling.report.presentation.core import ToggleButton
from pandas_profiling.report.presentation.flavours.html import templates


class HTMLToggleButton(ToggleButton):
    def render(self):
        return templates.template("toggle_button.html").render(**self.content)

Classes

class HTMLToggleButton (text, **kwargs)

Helper class that provides a standard way to create an ABC using inheritance.

Expand source code
class HTMLToggleButton(ToggleButton):
    def render(self):
        return templates.template("toggle_button.html").render(**self.content)

Ancestors

Methods

def render(self)
Expand source code
def render(self):
    return templates.template("toggle_button.html").render(**self.content)