Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c058015 commit a724652Copy full SHA for a724652
doc/users/next_whats_new/per_subplot_mosaic.rst
@@ -0,0 +1,22 @@
1
+Per-subplot keyword arguments in ``subplot_mosaic``
2
+----------------------------------------------------
3
+
4
+It is now possible to pass keyword arguments through to the creation to each
5
+specific call to ``add_subplot`` in `.Figure.subplot_mosaic` and
6
+`.pyplot.subplot_mosaic` :
7
8
+.. plot::
9
+ :include-source: true
10
11
+ fig, axd = plt.subplot_mosaic(
12
+ "AB;CD",
13
+ per_subplot_kw={
14
+ "A": {"projection": "polar"},
15
+ ("C", "D"): {"xlabel": "X Label"},
16
+ "B": {"projection": "3d"},
17
+ },
18
+ )
19
20
21
+This is particularly useful for creating mosaics with mixed projections, but
22
+any keyword arguments can be passed through.
0 commit comments