| from IPython.display import display, HTML |
| from matplotlib import cm, projections |
| from mpl_toolkits.mplot3d import Axes3D |
| from pathlib import Path |
| from pprint import pprint |
| import clipboard |
| import concurrent.futures |
| import cv2 |
| import math |
| import matplotlib.pyplot as plt |
| import numpy as np |
| import os |
| import pandas as pd |
| import pickle |
| import PIL |
| import platform |
| import re |
| import sys |
| import time |
| |
| # import tensorflow as tf |
| # import torch |
| |
| ############################# section 1. pandas setting up. this should be located before section 2. |
| pd.set_option("display.max_columns", None) |
| # pd.set_option("display.max_rows", None) |
| ############################# section 2. matplot setting up. |
| %matplotlib widget |
| plt.style.use('dark_background') |
| HTML(''' |
| <style> |
| .jupyter-matplotlib {background-color: #003030;} |
| .widget-label, .jupyter-matplotlib-header{color: #b0b0b0;} |
| .jupyter-button {background-color: #333;color: #b0b0b0;} |
| .cell-output-ipywidget-background {background-color: transparent !important;} |
| .cell-output-ipywidget-background pre {color: white !important;} |
| </style> |
| ''') |
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 百万级群聊的设计实践
· 永远不要相信用户的输入:从 SQL 注入攻防看输入验证的重要性
· 全网最简单!3分钟用满血DeepSeek R1开发一款AI智能客服,零代码轻松接入微信、公众号、小程
· .NET 10 首个预览版发布,跨平台开发与性能全面提升
· 《HelloGitHub》第 107 期