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_axisartist_axislines.py
import numpy as np import matplotlib.pyplot as plt from matplotlib.testing.decorators import image_comparison from matplotlib.transforms import IdentityTransform from mpl_toolkits.axisartist.axislines import SubplotZero, Subplot from mpl_toolkits.axisartist import SubplotHost, ParasiteAxesAuxTrans from mpl_toolkits.axisartist import Axes @image_comparison(baseline_images=['SubplotZero'], extensions=['png'], style='default') def test_SubplotZero(): fig = plt.figure() ax = SubplotZero(fig, 1, 1, 1) fig.add_subplot(ax) ax.axis["xzero"].set_visible(True) ax.axis["xzero"].label.set_text("Axis Zero") for n in ["top", "right"]: ax.axis[n].set_visible(False) xx = np.arange(0, 2 * np.pi, 0.01) ax.plot(xx, np.sin(xx)) ax.set_ylabel("Test") @image_comparison(baseline_images=['Subplot'], extensions=['png'], style='default') def test_Subplot(): fig = plt.figure() ax = Subplot(fig, 1, 1, 1) fig.add_subplot(ax) xx = np.arange(0, 2 * np.pi, 0.01) ax.plot(xx, np.sin(xx)) ax.set_ylabel("Test") ax.axis["top"].major_ticks.set_tick_out(True) ax.axis["bottom"].major_ticks.set_tick_out(True) ax.axis["bottom"].set_label("Tk0") def test_Axes(): fig = plt.figure() ax = Axes(fig, [0.15, 0.1, 0.65, 0.8]) fig.add_axes(ax) ax.plot([1, 2, 3], [0, 1, 2]) ax.set_xscale('log') plt.show() @image_comparison(baseline_images=['ParasiteAxesAuxTrans_meshplot'], extensions=['png'], remove_text=True, style='default', tol=0.075) def test_ParasiteAxesAuxTrans(): data = np.ones((6, 6)) data[2, 2] = 2 data[0, :] = 0 data[-2, :] = 0 data[:, 0] = 0 data[:, -2] = 0 x = np.arange(6) y = np.arange(6) xx, yy = np.meshgrid(x, y) funcnames = ['pcolor', 'pcolormesh', 'contourf'] fig = plt.figure() for i, name in enumerate(funcnames): ax1 = SubplotHost(fig, 1, 3, i+1) fig.add_subplot(ax1) ax2 = ParasiteAxesAuxTrans(ax1, IdentityTransform()) ax1.parasites.append(ax2) getattr(ax2, name)(xx, yy, data) ax1.set_xlim((0, 5)) ax1.set_ylim((0, 5)) ax2.contour(xx, yy, data, colors='k')
Close