Skip to content

Image left shifted #4

@KirbyJames

Description

@KirbyJames

Hi, Using your examples I've found that if you specify more than one year and a colorbar the output image is shifted to the left so that only half of the large year legend is visible.

all_days = pd.date_range('1/1/2019', periods=500, freq='D')
days = np.random.choice(all_days, 500)
events = pd.Series(np.random.randn(len(days)), index=days)
fig, axes = calplot.calplot(events, colorbar=True, cmap='YlGn')
fig.savefig('test.png')

image

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