(r, c, subplot_refs)
| 1291 | |
| 1292 | # Define cell string as function of (r, c) and grid_ref |
| 1293 | def _get_cell_str(r, c, subplot_refs): |
| 1294 | layout_keys = sorted({k for ref in subplot_refs for k in ref.layout_keys}) |
| 1295 | |
| 1296 | ref_str = ",".join(layout_keys) |
| 1297 | |
| 1298 | # Replace yaxis2 -> y2 |
| 1299 | ref_str = ref_str.replace("axis", "") |
| 1300 | return "({r},{c}) {ref}".format(r=r + 1, c=c + 1, ref=ref_str) |
| 1301 | |
| 1302 | # Find max len of _cell_str, add define a padding function |
| 1303 | cell_len = ( |
no test coverage detected