<jupyter_start><jupyter_text>271. [Axis Direction Demo Step01](https://matplotlib.org/gallery/axisartist/axis_direction_demo_step01.html) NO.|Gallery|number--|--|--1|Lines, bars and markers|442|Images, contours and fields|423|Subplots, axes and figures|304|Statistics|205|Pie and polar charts|96|Text, labels and annotations|427|Pyplot|258|Color|89|Shapes and collections|1610|Style sheets|711|Axes Grid|27- s = [44,42,30,20,9,42,25,8,16,7,27]<jupyter_code>import matplotlib.pyplot as plt
import mpl_toolkits.axisartist as axisartist
%matplotlib widget
plt.style.use('Solarize_Light2')
plt.style.available<jupyter_output><empty_output><jupyter_text>轴的艺术工具包：<jupyter_code>fig, ax = plt.subplots()
ax.xaxis.set_visible(True)
ax.yaxis.set_visible(False)
ax.spines['top'].set_visible(True)
ax.spines['bottom'].set_visible(False)
ax.spines['right'].set_visible(False)
ax.spines['left'].set_visible(False)
fig2 = plt.figure()
ax2 = axisartist.Subplot(fig2, 111)
fig2.add_subplot(ax2)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1499503475670308, 'fraction_numerical': 0.06653426017874876, 'mean_word_length': 9.72340425531915, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '640892', 'license': 'MIT', 'n_tokens_mistral': 438, 'n_tokens_neox': 399, 'n_words': 52, 'path': 'mpl_gallery_271.ipynb', 'repo_name': 'darkeggler/data_visualization_notebooks', 'size': '1007'}