|
363 | 363 | ], |
364 | 364 | "source": [ |
365 | 365 | "%%time\n", |
366 | | - "fig, axs = plt.subplots(ncols=2, figsize=(2jjjj, 2))\n", |
| 366 | + "fig, axs = plt.subplots(ncols=2, figsize=(2, 2))\n", |
367 | 367 | "sdata.pl.render_images(\"CytAssist_FFPE_Human_Breast_Cancer_hires_image\").pl.show(ax=axs.tolist(), fig=fig)" |
368 | 368 | ] |
369 | 369 | }, |
|
525 | 525 | ], |
526 | 526 | "source": [ |
527 | 527 | "%%time\n", |
528 | | - "sdata.pl.render_images(\"CytAssist_FFPE_Human_Breast_Cancer_full_image\").pl.show(\"CytAssist_FFPE_Human_Breast_Cancer\", figsize=(15.0, 15.0))\n", |
| 528 | + "sdata.pl.render_images(\"CytAssist_FFPE_Human_Breast_Cancer_full_image\").pl.show(\n", |
| 529 | + " \"CytAssist_FFPE_Human_Breast_Cancer\", figsize=(15.0, 15.0)\n", |
| 530 | + ")\n", |
529 | 531 | "# \"scale3\" is automatically selected and the image is automatically rasterized before rendering" |
530 | 532 | ] |
531 | 533 | }, |
|
571 | 573 | ], |
572 | 574 | "source": [ |
573 | 575 | "%%time\n", |
574 | | - "sdata.pl.render_images(\"CytAssist_FFPE_Human_Breast_Cancer_full_image\", scale=\"scale3\").pl.show(\"CytAssist_FFPE_Human_Breast_Cancer\")" |
| 576 | + "sdata.pl.render_images(\"CytAssist_FFPE_Human_Breast_Cancer_full_image\", scale=\"scale3\").pl.show(\n", |
| 577 | + " \"CytAssist_FFPE_Human_Breast_Cancer\"\n", |
| 578 | + ")" |
575 | 579 | ] |
576 | 580 | }, |
577 | 581 | { |
|
601 | 605 | ], |
602 | 606 | "source": [ |
603 | 607 | "%%time\n", |
604 | | - "sdata.pl.render_images(\"CytAssist_FFPE_Human_Breast_Cancer_full_image\", scale=\"scale3\").pl.show(\"CytAssist_FFPE_Human_Breast_Cancer\", dpi=100)\n", |
| 608 | + "sdata.pl.render_images(\"CytAssist_FFPE_Human_Breast_Cancer_full_image\", scale=\"scale3\").pl.show(\n", |
| 609 | + " \"CytAssist_FFPE_Human_Breast_Cancer\", dpi=100\n", |
| 610 | + ")\n", |
605 | 611 | "# the image is automatically rasterized before rendering" |
606 | 612 | ] |
607 | 613 | }, |
|
619 | 625 | "outputs": [], |
620 | 626 | "source": [ |
621 | 627 | "sdata_cropped = sdata.query.bounding_box(\n", |
622 | | - " min_coordinate=[0, 0], max_coordinate=[10000, 10000], axes=(\"x\", \"y\"), target_coordinate_system=\"CytAssist_FFPE_Human_Breast_Cancer\"\n", |
| 628 | + " min_coordinate=[0, 0],\n", |
| 629 | + " max_coordinate=[10000, 10000],\n", |
| 630 | + " axes=(\"x\", \"y\"),\n", |
| 631 | + " target_coordinate_system=\"CytAssist_FFPE_Human_Breast_Cancer\",\n", |
623 | 632 | ")" |
624 | 633 | ] |
625 | 634 | }, |
|
702 | 711 | ], |
703 | 712 | "source": [ |
704 | 713 | "%%time\n", |
705 | | - "sdata_cropped.pl.render_images(\"CytAssist_FFPE_Human_Breast_Cancer_full_image\", scale=\"scale0\").pl.show(\"CytAssist_FFPE_Human_Breast_Cancer\")\n", |
| 714 | + "sdata_cropped.pl.render_images(\"CytAssist_FFPE_Human_Breast_Cancer_full_image\", scale=\"scale0\").pl.show(\n", |
| 715 | + " \"CytAssist_FFPE_Human_Breast_Cancer\"\n", |
| 716 | + ")\n", |
706 | 717 | "# using the highest resolution" |
707 | 718 | ] |
708 | 719 | }, |
|
0 commit comments