File: test_matplotlib.py

package info (click to toggle)
turing 0.11-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,340 kB
  • sloc: python: 106,582; xml: 101; makefile: 53; sh: 29
file content (12 lines) | stat: -rw-r--r-- 450 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#! /usr/bin/python3

# turing uses only Axes, FigureCanvasQTAgg, Figure, AutoLocator, LinearLocator
# however users of turing rely on all other matplotlib's functions,
# so matplotlib's own test suite is enough.

# making just some smoke...

from matplotlib.axes import Axes
from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas
from matplotlib.figure import Figure
from matplotlib.ticker import AutoLocator, LinearLocator