<jupyter_start><jupyter_text>3D barsAn example of using Matplotlib to create 3D plots.Taken from [mplot3d example code: bars3d_demo.py](http://matplotlib.org/examples/mplot3d/bars3d_demo.html)<jupyter_code># The needed imports
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
import numpy as np

%matplotlib inline
# The figure to plot
fig = plt.figure( figsize=(15,10) )
ax = fig.add_subplot(111, projection='3d');
ax.set_xlabel('X')
ax.set_ylabel('Y')
ax.set_zlabel('Z');
for c, z in zip(['r', 'g', 'b', 'y'], [30, 20, 10, 0]):
    xs = np.arange(20)
    ys = np.random.rand(20)

    # You can provide either a single color or an array. To demonstrate this,
    # the first bar of each set will be colored cyan.
    cs = [c] * len(xs)
    cs[0] = 'c'
    ax.bar(xs, ys, zs=z, zdir='y', color=cs, alpha=0.8)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.14634146341463414, 'fraction_numerical': 0.03484320557491289, 'mean_word_length': 4.421383647798742, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '539490', 'license': 'BSD-3-Clause', 'n_tokens_mistral': 362, 'n_tokens_neox': 341, 'n_words': 95, 'path': 'vmfiles/IPNB/Examples/b Graphics/10 Matplotlib 3D plot.ipynb', 'repo_name': 'studentofdata/qcew', 'size': '861'}