GithubHelp home page GithubHelp logo

tommylitlle / pyplotz Goto Github PK

View Code? Open in Web Editor NEW

This project forked from songlinhou/pyplotz

0.0 1.0 0.0 1.82 MB

A light weight wrapper for matplotlib users with Chinese characters supported

License: MIT License

Jupyter Notebook 90.30% Python 9.70%

pyplotz's Introduction

pyplotz 中文支持组件

特性 Features

跨平台轻量级 matplotlib 中文支持组件。支持 Linux, MacOS 和 Windows。

A cross platform light weight wrapper for matplotlib users with Chinese characters supported. It can be used in Linux, MacOS and Windows.


兼容 matplotlib 以及其依赖库(如: seaborn)

Completely compatible with matplotlib and 3rd-party libraries based on matplotlib (such as seaborn).


无需配置,让中文显示原生兼容。

Without any configuration, you can use Chinese characters in matplotlib like it is natively supported.


支持 matplotlib 混合编程, 完全相同的API设计。查看示例

Mixture of matplotlib and pyplotz is supported. Identical API with matplotlib. Example

from pyplotz.pyplotz import PyplotZ
import matplotlib.pyplot as plt
import numpy as np

pltz = PyplotZ() # create an instance
pltz.plot(np.linspace(-10,10),np.sin(np.linspace(-10,10)),'b', label='sin数据',alpha=0.7)
pltz.plot(np.linspace(-10,10),np.cos(np.linspace(-10,10)),'r', label='cos数据',alpha=0.7)
pltz.title("数据图")
pltz.xlabel("横坐标")
pltz.ylabel("纵坐标")
plt.grid() # you can use matplotlib API and pyplotz interchangeably.
pltz.legend() # use legend function from pltz to show Chinese properly

获取方式 Installation

请使用命令行安装:

Pleased install using command:

pip install pyplotz

pyplotz's People

Contributors

songlinhou avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.