Subject | Hash | Author | Date (UTC) |
---|---|---|---|
mplot.mart: set up spines linewidth | 4220ec6f715c78c1feac9966b5804ee995029bdf | I am | 2022-01-19 19:43:18 |
mplot: reduce arrow and axis linewidth | 666b1455f15ec803106fbfd773c1d3aa3877a1f9 | I am | 2022-01-19 18:04:37 |
mplot.maxes: přídáme férové cenzurováné vzorkování | 4b488e62a969f972882f982e903c6a3d252274a6 | I am | 2022-01-19 17:39:14 |
simplex: add simple filter function for rejection sampling | a58d3814dfd3366ef536c90b37fd50e3edccc9e9 | I am | 2022-01-19 17:38:08 |
whitebox: add rude approximation for sumexp. (Je teda opravdu hodně nepřesná) | 281f66ac70e21756415c8efecfdee50873b34b58 | I am | 2022-01-18 22:25:51 |
whitebox: add four betas class | 57a25000259e74f1ac28bb1bac6b0cc01dd5201c | I am | 2022-01-18 21:43:00 |
whitebox: introduce Gaussian_Z_prod_2D class with respective exact solution | 13e592f107918d4cc3daaeec1f08e38779a943aa | I am | 2022-01-18 18:51:23 |
mplot: polish maxes and mfigs | dfb9193da5fcb633fbe58fb39ff7b4432de4a5c5 | I am | 2022-01-18 00:44:56 |
testcases: add gaussian_2D module | c5e279c08bba39bdd82c79d15d00241c786c795d | I am | 2022-01-18 00:06:36 |
qt_gui.qt_testcases: simplify code for the unparametrized testcases | 60b7678186738107b3346beae7fb0744570d60fc | I am | 2022-01-18 00:05:34 |
mplot.mart: move setup_labels to mart module | 9d7783a3a9905a72c51b4fec76e367dffdbc4563 | I am | 2022-01-17 17:33:16 |
mplot.__init__: set up small non zero padding (0.01) | f0d23235b109c4224599eb0426ad0d9ee8b2a9b8 | I am | 2022-01-17 17:31:44 |
mplot: raster candidates, polishing | 63d6d00dfe7affc8ed3d05161fd4a5b50db62207 | I am | 2022-01-17 16:34:05 |
mplot: more figures | 3a7f54e09cd78a2fc2ff50d7cf5c142f04ffdc28 | I am | 2022-01-09 00:42:33 |
testcases: add proxy_prod 2D testcase | edb11ab54bcf677757974f133d2d66816b701ade | I am | 2022-01-09 00:41:27 |
stm_df: fix proxy, pandas nějak nám šťourá v našich boolean maticích | 1d9f360edfc03932a08dff8aad97f189b155e708 | I am | 2022-01-09 00:39:24 |
mplot.maxes: a little bit more to labels | d989a2d1b69b116a14f7ff81776f5f75d80cfea0 | I am | 2022-01-06 17:48:57 |
mplot.figs: add double and triple triangulations plots | 091361cc326239b552078c489f9f164ccda4f54b | I am | 2022-01-06 16:17:50 |
mplot.maxes: aspoň nějak nastavit popísky os | 50e8e467c24d73d9522166183275deab547243f8 | I am | 2022-01-06 16:16:36 |
mplot.maxes: add labels to candidates plot | f8aa0f271a8d30cb7d79206290409f862c406a51 | I am | 2022-01-06 12:14:48 |
File | Lines added | Lines deleted |
---|---|---|
mplot/__init__.py | 2 | 1 |
mplot/mart.py | 7 | 3 |
File mplot/__init__.py changed (mode: 100644) (index 6763efa..448ff45) | |||
... | ... | matplotlib.rcParams['font.family'] = 'STIXGeneral' | |
20 | 20 | matplotlib.rcParams['savefig.dpi'] = 300 | matplotlib.rcParams['savefig.dpi'] = 300 |
21 | 21 | matplotlib.rcParams['savefig.bbox'] = 'tight' | matplotlib.rcParams['savefig.bbox'] = 'tight' |
22 | 22 | matplotlib.rcParams['savefig.pad_inches'] = 0.01 | matplotlib.rcParams['savefig.pad_inches'] = 0.01 |
23 | matplotlib.rcParams['axes.linewidth'] = 0.5 | ||
23 | #č neptejte se mně proč, ale tloušťka čár se neaplikuje globálně | ||
24 | #matplotlib.rcParams['axes.linewidth'] = 100500 | ||
24 | 25 | matplotlib.rcParams['font.size'] = 8 | matplotlib.rcParams['font.size'] = 8 |
25 | 26 | ||
26 | 27 | # Show-functions | # Show-functions |
File mplot/mart.py changed (mode: 100644) (index 969be90..a9ec689) | |||
... | ... | def isocurves(ax, ngrid=200, limits=None, ncurves=5, **kwargs): | |
432 | 432 | ||
433 | 433 | ||
434 | 434 | ||
435 | def center_spines(ax): | ||
435 | def center_spines(ax, lw=0.4): | ||
436 | 436 | # Move the left and bottom spines to x = 0 and y = 0, respectively. | # Move the left and bottom spines to x = 0 and y = 0, respectively. |
437 | 437 | ax.spines["left"].set_position(("data", 0)) | ax.spines["left"].set_position(("data", 0)) |
438 | 438 | ax.spines["bottom"].set_position(("data", 0)) | ax.spines["bottom"].set_position(("data", 0)) |
... | ... | def center_spines(ax): | |
441 | 441 | ax.spines["left"].set_visible(True) | ax.spines["left"].set_visible(True) |
442 | 442 | ax.spines["bottom"].set_visible(True) | ax.spines["bottom"].set_visible(True) |
443 | 443 | ||
444 | # Set up linewidth | ||
445 | ax.spines["left"].set_linewidth(lw) | ||
446 | ax.spines["bottom"].set_linewidth(lw) | ||
447 | |||
444 | 448 | # Hide the top and right spines. | # Hide the top and right spines. |
445 | 449 | ax.spines["top"].set_visible(False) | ax.spines["top"].set_visible(False) |
446 | 450 | ax.spines["right"].set_visible(False) | ax.spines["right"].set_visible(False) |
... | ... | def curly(ax, linewidths=[0.7, 0.5, 0.4, 0.3, 0.2, 0.1], nrid=200, color='k', ** | |
491 | 495 | gcircle(ax, r=i+1, nrod=nrid, color=color, linewidth=lw, fill=False) | gcircle(ax, r=i+1, nrod=nrid, color=color, linewidth=lw, fill=False) |
492 | 496 | ||
493 | 497 | ||
494 | def setup(ax, lw=1): #č šup | ||
498 | def setup(ax, lw=0.4): #č šup | ||
495 | 499 | #ax.set_xlabel('$x_{1}$') | #ax.set_xlabel('$x_{1}$') |
496 | 500 | #ax.set_ylabel('$x_{2}$') | #ax.set_ylabel('$x_{2}$') |
497 | 501 | ||
... | ... | def setup(ax, lw=1): #č šup | |
503 | 507 | ax.set_frame_on(False) | ax.set_frame_on(False) |
504 | 508 | uframe(ax, linewidth=lw) | uframe(ax, linewidth=lw) |
505 | 509 | else: | else: |
506 | center_spines(ax) | ||
510 | center_spines(ax, lw) | ||
507 | 511 | ||
508 | 512 | ||
509 | 513 | def setup_labels(ax, x_label="$x_1$", y_label="$x_2~$", data_offset=0.5): | def setup_labels(ax, x_label="$x_1$", y_label="$x_2~$", data_offset=0.5): |