Paul Hockett

Results 16 comments of Paul Hockett

Just for the record, I just ran into this for the specific case of *nested* dictionary attrs in Dataarray.attrs. It's definitely an issue in 2022.3.0 and 2022.6.0. Here's a minimal...

Absolutely @headtr1ck, glad that it was useful - I'm a bit green re: tests and PRs to large projects, but will make a stab at it. I'm just consulting the...

OK, new test now pushed as #7086. (Hopefully added in the right place and style!) A couple of additional notes: - Revision to my comment above: this actually fails in...

> Ok, I thought that copying attrs was fixed. Seems like it did not... Sorry for the mix-up there - think I initially tested in 2022.6 with the extra `data2.attrs...

Just ran into this one too, specifically for the captions in the `{glue:figure}` case. The fix at https://github.com/mcmtroffaes/sphinxcontrib-bibtex/issues/276#issuecomment-1102154800 worked for me (thanks @michaelosthege for pointing in that direction!), i.e. adding...

For Plotly and Holoviews I've had some success with a - rather hacky - glue wrapper which is currently providing "rich" figures for HTML outputs and static renders for PDF...

Same problem as the OP here too, using the demo code above or my own Plotly routines for surface plots. But, interestingly, I happened to test a routine wrapped by...

As a work-around for the Plotly case, I took a look at how Holoviews does it. Essentially, it wraps the figure in a Panel class for this, which seems to...

As a follow-up, I ran into further issues with Plotly and glue() when trying to build PDFs. The fix of forcing Plotly to render to static image formats (see https://github.com/executablebooks/jupyter-book/issues/1410)...

More follow-up... I just ran into the same issues with Holoviews plots, so revisited this point. Here's a hacky decorator solution following the above - it's not well-tested, but is...