Create base64 image string using FairTreeGraph
(self, model)
| 225 | return metadata |
| 226 | |
| 227 | def _get_tree(self, model): |
| 228 | """Create base64 image string using FairTreeGraph""" |
| 229 | ftg = FairTreeGraph(model, self._format_strings) |
| 230 | fig, ax = ftg.generate_image() |
| 231 | img_tag = self._fig_to_img_tag(fig) |
| 232 | return img_tag |
| 233 | |
| 234 | def _get_distribution(self, model_or_models): |
| 235 | """Create base64 image string using FairDistributionCurve""" |