fixing docstrings so that images are shown