|
419 | 419 | " for j in range(1, i):\n",
|
420 | 420 | " ax[j - 1, i - 1].axis(\"off\")\n",
|
421 | 421 | " for j in range(i, 7):\n",
|
422 |
| - " ax[j - 1, i - 1].plot(ell[1:], cls[\"POS\", \"POS\", i, j][1:], c=\"C0\", lw=1.5, zorder=3.0, alpha=0.5)\n", |
| 422 | + " ax[j - 1, i - 1].plot(\n", |
| 423 | + " ell[1:], cls[\"POS\", \"POS\", i, j][1:], c=\"C0\", lw=1.5, zorder=3.0, alpha=0.5\n", |
| 424 | + " )\n", |
423 | 425 | " ax[j - 1, i - 1].axhline(0.0, c=\"k\", lw=0.8, zorder=-1)\n",
|
424 | 426 | " ax[j - 1, i - 1].tick_params(axis=\"both\", which=\"both\", direction=\"in\")\n",
|
425 | 427 | "\n",
|
426 | 428 | "ax[0, 0].set_xscale(\"log\")\n",
|
427 | 429 | "ax[0, 0].set_xlim(1 / 3, lmax * 3)\n",
|
428 | 430 | "ax[0, 0].xaxis.get_major_locator().set_params(numticks=99)\n",
|
429 |
| - "ax[0, 0].xaxis.get_minor_locator().set_params(numticks=99, subs=np.arange(0.1, 1.0, 0.1))\n", |
430 |
| - "ax[0, 0].set_yscale(\"symlog\", linthresh=1e-7, linscale=0.45, subs=np.arange(0.1, 1.0, 0.1))\n", |
| 431 | + "ax[0, 0].xaxis.get_minor_locator().set_params(\n", |
| 432 | + " numticks=99, subs=np.arange(0.1, 1.0, 0.1)\n", |
| 433 | + ")\n", |
| 434 | + "ax[0, 0].set_yscale(\n", |
| 435 | + " \"symlog\", linthresh=1e-7, linscale=0.45, subs=np.arange(0.1, 1.0, 0.1)\n", |
| 436 | + ")\n", |
431 | 437 | "ax[0, 0].set_ylim(-2e-7, 2e-6)\n",
|
432 | 438 | "\n",
|
433 | 439 | "fig.subplots_adjust(left=0.0, bottom=0.0, right=1.0, top=1.0, wspace=0.0, hspace=0.0)\n",
|
|
470 | 476 | " for j in range(1, i):\n",
|
471 | 477 | " ax[j - 1, i - 1].axis(\"off\")\n",
|
472 | 478 | " for j in range(i, 7):\n",
|
473 |
| - " ax[j - 1, i - 1].plot(ell[2:], cls[\"SHE\", \"SHE\", i, j][0, 2:], c=\"C0\", lw=1.5, zorder=3.0, alpha=0.5)\n", |
474 |
| - " ax[j - 1, i - 1].plot(ell[2:], cls[\"SHE\", \"SHE\", i, j][1, 2:], c=\"C1\", lw=1.5, zorder=1.0, alpha=0.5)\n", |
| 479 | + " ax[j - 1, i - 1].plot(\n", |
| 480 | + " ell[2:],\n", |
| 481 | + " cls[\"SHE\", \"SHE\", i, j][0, 2:],\n", |
| 482 | + " c=\"C0\",\n", |
| 483 | + " lw=1.5,\n", |
| 484 | + " zorder=3.0,\n", |
| 485 | + " alpha=0.5,\n", |
| 486 | + " )\n", |
| 487 | + " ax[j - 1, i - 1].plot(\n", |
| 488 | + " ell[2:],\n", |
| 489 | + " cls[\"SHE\", \"SHE\", i, j][1, 2:],\n", |
| 490 | + " c=\"C1\",\n", |
| 491 | + " lw=1.5,\n", |
| 492 | + " zorder=1.0,\n", |
| 493 | + " alpha=0.5,\n", |
| 494 | + " )\n", |
475 | 495 | " ax[j - 1, i - 1].axhline(0.0, c=\"k\", lw=0.8, zorder=-1)\n",
|
476 | 496 | " ax[j - 1, i - 1].tick_params(axis=\"both\", which=\"both\", direction=\"in\")\n",
|
477 | 497 | "\n",
|
478 | 498 | "ax[0, 0].set_xscale(\"log\")\n",
|
479 | 499 | "ax[0, 0].set_xlim(1 / 3, lmax * 3)\n",
|
480 | 500 | "ax[0, 0].xaxis.get_major_locator().set_params(numticks=99)\n",
|
481 |
| - "ax[0, 0].xaxis.get_minor_locator().set_params(numticks=99, subs=np.arange(0.1, 1.0, 0.1))\n", |
482 |
| - "ax[0, 0].set_yscale(\"symlog\", linthresh=1e-10, linscale=0.45, subs=np.arange(0.1, 1.0, 0.1))\n", |
| 501 | + "ax[0, 0].xaxis.get_minor_locator().set_params(\n", |
| 502 | + " numticks=99, subs=np.arange(0.1, 1.0, 0.1)\n", |
| 503 | + ")\n", |
| 504 | + "ax[0, 0].set_yscale(\n", |
| 505 | + " \"symlog\", linthresh=1e-10, linscale=0.45, subs=np.arange(0.1, 1.0, 0.1)\n", |
| 506 | + ")\n", |
483 | 507 | "ax[0, 0].set_ylim(-3e-10, 5e-9)\n",
|
484 | 508 | "\n",
|
485 | 509 | "fig.subplots_adjust(left=0.0, bottom=0.0, right=1.0, top=1.0, wspace=0.0, hspace=0.0)\n",
|
|
516 | 540 | "\n",
|
517 | 541 | "for i in range(1, 7):\n",
|
518 | 542 | " for j in range(1, 7):\n",
|
519 |
| - " ax[j - 1, i - 1].plot(ell[2:], cls[\"POS\", \"SHE\", i, j][0, 2:], c=\"C0\", lw=1.5, zorder=3.0, alpha=0.5)\n", |
520 |
| - " ax[j - 1, i - 1].plot(ell[2:], cls[\"POS\", \"SHE\", i, j][1, 2:], c=\"C1\", lw=1.5, zorder=1.0, alpha=0.5)\n", |
| 543 | + " ax[j - 1, i - 1].plot(\n", |
| 544 | + " ell[2:],\n", |
| 545 | + " cls[\"POS\", \"SHE\", i, j][0, 2:],\n", |
| 546 | + " c=\"C0\",\n", |
| 547 | + " lw=1.5,\n", |
| 548 | + " zorder=3.0,\n", |
| 549 | + " alpha=0.5,\n", |
| 550 | + " )\n", |
| 551 | + " ax[j - 1, i - 1].plot(\n", |
| 552 | + " ell[2:],\n", |
| 553 | + " cls[\"POS\", \"SHE\", i, j][1, 2:],\n", |
| 554 | + " c=\"C1\",\n", |
| 555 | + " lw=1.5,\n", |
| 556 | + " zorder=1.0,\n", |
| 557 | + " alpha=0.5,\n", |
| 558 | + " )\n", |
521 | 559 | " ax[j - 1, i - 1].axhline(0.0, c=\"k\", lw=0.8, zorder=-1)\n",
|
522 | 560 | " ax[j - 1, i - 1].tick_params(axis=\"both\", which=\"both\", direction=\"in\")\n",
|
523 | 561 | "\n",
|
524 | 562 | "ax[0, 0].set_xscale(\"log\")\n",
|
525 | 563 | "ax[0, 0].set_xlim(1 / 3, lmax * 3)\n",
|
526 | 564 | "ax[0, 0].xaxis.get_major_locator().set_params(numticks=99)\n",
|
527 |
| - "ax[0, 0].xaxis.get_minor_locator().set_params(numticks=99, subs=np.arange(0.1, 1.0, 0.1))\n", |
528 |
| - "ax[0, 0].set_yscale(\"symlog\", linthresh=1e-9, linscale=0.45, subs=np.arange(0.1, 1.0, 0.1))\n", |
| 565 | + "ax[0, 0].xaxis.get_minor_locator().set_params(\n", |
| 566 | + " numticks=99, subs=np.arange(0.1, 1.0, 0.1)\n", |
| 567 | + ")\n", |
| 568 | + "ax[0, 0].set_yscale(\n", |
| 569 | + " \"symlog\", linthresh=1e-9, linscale=0.45, subs=np.arange(0.1, 1.0, 0.1)\n", |
| 570 | + ")\n", |
529 | 571 | "ax[0, 0].set_ylim(-8e-8, 4e-8)\n",
|
530 | 572 | "\n",
|
531 | 573 | "fig.subplots_adjust(left=0.0, bottom=0.0, right=1.0, top=1.0, wspace=0.0, hspace=0.0)\n",
|
|
0 commit comments