Module pandas_profiling.report.presentation.flavours.html.image
Expand source code
from pandas_profiling.report.presentation.core import Image
from pandas_profiling.report.presentation.flavours.html import templates
class HTMLImage(Image):
def render(self):
return templates.template("diagram.html").render(**self.content)
Classes
class HTMLImage (image, image_format, alt, caption=None, **kwargs)
-
Helper class that provides a standard way to create an ABC using inheritance.
Expand source code
class HTMLImage(Image): def render(self): return templates.template("diagram.html").render(**self.content)
Ancestors
- Image
- ItemRenderer
- Renderable
- abc.ABC
Methods
def render(self)
-
Expand source code
def render(self): return templates.template("diagram.html").render(**self.content)