<jupyter_start><jupyter_text>print("hello world") 大字号  大字号  大<jupyter_code>import matplotlib.pyplot as plt
x=[1,2,3,4]
y=[10,20,30,40]
plt.plot(x,y)
plt.show()
from matplotlib import pyplot
x=[1,2,3,4]
y=[10,40,30,40]
pyplot.plot(x,y)
pyplot.show()
x=[12,33,42,123,12,3,21,12,3]
y=(range(0,8))
pyplot.plot(x,y)
pyplot.show()

x=[12,33,42,123,12,3,21,12,3]
y=[range(1,8)]

pyplot.plot(x,y)
pyplot.show()
y=[17,17,18,15,11,11,13]
x=list(range(0,8))
pyplot.plot(x,y)
pyplot.show()

pyplot.figure(figsize=(20,8),dpi=100)
y=[15,13,14.5,17,20,25,26,26,27,22,18,15]
x=range(2,26,2)
pyplot.plot(x,y)
pyplot.show()


pyplot.figure(figsize=(20,8),dpi=100)
y=[15,13,14.5,17,20,25,26,26,27,22,18,15]
x=range(2,26,2)
pyplot.plot(x,y)
pyplot.savefig("./test2.png")
pyplot.show()

pyplot.figure(figsize=(20,8),dpi=100)
y=[15,13,14.5,17,20,25,26,26,27,22,18,15]
x=range(2,26,2)
pyplot.plot(x,y)
pyplot.savefig("/Users/camelia-dev/Desktop/1111111111111.png")
pyplot.show()
from matplotlib import pyplot
pyplot.figure(figsize=(20,8),dpi=100)
y=[15,13,14.5,17,20,25,26,26,27,22,18,15]
x=range(2,26,2)
pyplot.plot(x,y)
pyplot.xticks(x[::4])
pyplot.savefig("/Users/camelia-dev/Desktop/1111111111111.png")
pyplot.show()
from matplotlib import pyplot
pyplot.figure(figsize=(20,8),dpi=100)
y=[15,13,14.5,17,20,25,26,26,27,22,18,15]
x=range(2,26,2)
pyplot.plot(x,y)
pyplot.yticks(y)
pyplot.savefig("/Users/camelia-dev/Desktop/1111111111111.png")
pyplot.show()
from matplotlib import pyplot
from matplotlib import font_manager
# 利用字体管理器加载字体
my_font=font_manager.FontProperties(fname="mmd.ttf")
pyplot.figure(figsize=(10,8),dpi=200)
import random
y=[random.randint(20,35) for i in range(120)]
x=range(120)
pyplot.plot(x,y)

# 将刻度值变换成刻度的内容:字符串
_xticks=["10点{}分".format(i) for i in range(120) if i<60]
_xticks+=["11点%s分"%i for i in range(60)]
print(_xticks)
pyplot.xticks(x[::4],_xticks[::4],rotation=45,font_properties=my_font)
pyplot.yticks(y)
pyplot.savefig("/Users/camelia-dev/Desktop/1111111111111.png")
pyplot.show()
from matplotlib import pyplot
from matplotlib import font_manager
# 利用字体管理器加载字体
# my_font=font_manager.FontProperties(fname="mmd.ttf")
pyplot.figure(figsize=(10,8),dpi=200)
import random
y=[random.randint(20,35) for i in range(120)]
x=range(120)
pyplot.plot(x,y)

# 将刻度值变换成刻度的内容:字符串
_xticks=["10点{}分".format(i) for i in range(120) if i<60]
_xticks+=["11点%s分"%i for i in range(60)]
print(_xticks)
pyplot.xticks(x[::4],_xticks[::4],rotation=45) # font_properties=my_font
pyplot.yticks(y)
pyplot.savefig("/Users/camelia-dev/Desktop/1111111111111.png")
pyplot.show()
from matplotlib import pyplot
from matplotlib import font_manager
# 利用字体管理器加载字体
my_font=font_manager.FontProperties(fname="mmd.ttf")
pyplot.figure(figsize=(10,8),dpi=200)
import random
y=[random.randint(20,35) for i in range(120)]
x=range(120)
pyplot.plot(x,y)

# 将刻度值变换成刻度的内容:字符串
_xticks=["10点{}分".format(i) for i in range(120) if i<60]
_xticks+=["11点%s分"%i for i in range(60)]
print(_xticks)
pyplot.xticks(x[::4],_xticks[::4],rotation=45,font_properties=my_font)
pyplot.yticks(y)
pyplot.savefig("/Users/camelia-dev/Desktop/1111111111111.png")
pyplot.show()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.20254372019077901, 'fraction_numerical': 0.13545310015898251, 'mean_word_length': 9.115755627009646, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 6, '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': '44513', 'license': 'MIT', 'n_tokens_mistral': 1748, 'n_tokens_neox': 1541, 'n_words': 186, 'path': 'myfirst.ipynb', 'repo_name': 'qq453388937/data_mining_faith', 'size': '3145'}