HTML representation of GEMSEO objects

For GEMSEO users working with notebooks, HTML rendering can be very important. Unlike console output, you can easily highlight object’s properties using text formatting (bold, italic, centered, etc.), tables, images, and more. You can also represent nested objects. scikit-learn has done some very interesting work in this area, offering an HTML representation of machine learning models.

In GEMSEO, we’ve started implementing simple features for certain objects by defining the _repr_html_() method. This is particularly true for DesignSpace and for certain objects that were previously represented in the console using bulleted lists via MultiLineString(e.g. OptimizationResult or EvaluationProblem.

Do you think it would be useful to take this further for users? If so, for which objects and how? Could scikit-learn’s highly visual approach inspire us?