Skip to content

Working with nbagg #47

Open
Open
@philippjfr

Description

In the last meeting we got a request to allow the user to work with the matplotlib nbagg backend to enable some of the interactive features that allows. Enabling nbagg in HoloViews is trivial and can be done simply by executing

%output backend='matplotlib:nbagg

This works fine for individual figures but because the nbagg backend applies some internal magic to compute the bounding box around all the figure artists, laying out multiple plots will often result in cut off axis labels, colorbars or even parts of the actual plot. I've investigated how to control the bounding box of the rendered figure in the nbagg backend but haven't been able to figure out a solution that actually works. If we do want to commit to using nbagg we'll need to discuss how the bounding box code in nbagg works with someone who is familiar with its internals.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions