![]() ![]() Our changelog has details and links to individual pull requests, but here are the highlights: Period positioning on date axes This enables you to easily position shapes with respect to subplot bounds. ![]() xref="x2 domain", in which case the value of x is interpreted such that 0 and 1 are mapped to and. You can now position these elements using e.g. ![]() In the past, only absolute "paper" or data "x" coordinates were accepted, which made sense in a single-subplot context, but correctly positioning elements on multiple subplots required a lot of manual bookkeeping. Image 2688×876 150 KB New xref and yref values for layout objectsĪs part of the work above, layout.shapes, layout.annotations and layout.images now all support a new xref/ yref mode for positioning. These methods allow you to very easily add lines and rectangles to your figures, with optional automatically-positioned labels! In 4.12 we’ve added new convenience methods to figures. Plotly has always supported the ability to draw lines and polygons on figures, as well as position text on figures but drawing and labelling simple axis-aligned shapes that don’t move when you pan away from the initial view has always been tricky and verbose. Our changelog has details and links to individual pull requests, but here are the highlights: Easy Labelled Horizontal and Vertical Lines and Rectangles Note that we skipped an announcement for version 4.11 so we’re adding the news in this post. I’m happy to announce that Plotly.py 4.12 is now available for download via pip and conda! For up-to-date installation and upgrading instructions (including the extra required steps for JupyterLab!) please see our Getting Started documentation page and if you run into trouble, check out our Troubleshooting Guide. ![]() Update: version 4.13 was released since this was posted. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |