Skip to content

suptitle is truncated #6

@arminus

Description

@arminus

Calplot version 0.1.7.2 / Windows 10:

Using a suptitle for a plot truncates it at the top:

Jahres-Belegung.png

This is the code I use:

fig, ax = calplot.calplot(dfYear.squeeze(), cmap='YlOrRd', tight_layout=False, suptitle='My Suptitle', figsize=(12,4), daylabels= ['Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa', 'So'])
fig.patch.set_facecolor('xkcd:white')
fig.savefig(f'{img_path}/JahresBelegung.png')

(changing the figsize or tight_layout True/False has no effect)

What's strange: When I visualize the same plot directly in VSCode's Jupyter notebook, the suptitle is not truncated?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions