Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 503747e

Browse files
committed
auto adding docstring for userdemo
1 parent 1652139 commit 503747e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+288
-0
lines changed

examples/userdemo/anchored_box01.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
==============
3+
Anchored Box01
4+
==============
5+
6+
"""
17
import matplotlib.pyplot as plt
28
from matplotlib.offsetbox import AnchoredText
39

examples/userdemo/anchored_box02.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
==============
3+
Anchored Box02
4+
==============
5+
6+
"""
17
from matplotlib.patches import Circle
28
import matplotlib.pyplot as plt
39
from mpl_toolkits.axes_grid1.anchored_artists import AnchoredDrawingArea

examples/userdemo/anchored_box03.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
==============
3+
Anchored Box03
4+
==============
5+
6+
"""
17
from matplotlib.patches import Ellipse
28
import matplotlib.pyplot as plt
39
from mpl_toolkits.axes_grid1.anchored_artists import AnchoredAuxTransformBox

examples/userdemo/anchored_box04.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
==============
3+
Anchored Box04
4+
==============
5+
6+
"""
17
from matplotlib.patches import Ellipse
28
import matplotlib.pyplot as plt
39
from matplotlib.offsetbox import AnchoredOffsetbox, TextArea, DrawingArea, HPacker

examples/userdemo/annotate_explain.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
================
3+
Annotate Explain
4+
================
5+
6+
"""
17

28
import matplotlib.pyplot as plt
39
import matplotlib.patches as mpatches

examples/userdemo/annotate_simple01.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
=================
3+
Annotate Simple01
4+
=================
5+
6+
"""
17
import matplotlib.pyplot as plt
28

39
plt.figure(1, figsize=(3,3))

examples/userdemo/annotate_simple02.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
=================
3+
Annotate Simple02
4+
=================
5+
6+
"""
17
import matplotlib.pyplot as plt
28

39
plt.figure(1, figsize=(3,3))

examples/userdemo/annotate_simple03.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
=================
3+
Annotate Simple03
4+
=================
5+
6+
"""
17
import matplotlib.pyplot as plt
28

39
plt.figure(1, figsize=(3,3))

examples/userdemo/annotate_simple04.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
=================
3+
Annotate Simple04
4+
=================
5+
6+
"""
17
import matplotlib.pyplot as plt
28

39
plt.figure(1, figsize=(3,3))

examples/userdemo/annotate_simple_coord01.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
=======================
3+
Annotate Simple Coord01
4+
=======================
5+
6+
"""
17

28
import matplotlib.pyplot as plt
39

examples/userdemo/annotate_simple_coord02.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
=======================
3+
Annotate Simple Coord02
4+
=======================
5+
6+
"""
17

28
import matplotlib.pyplot as plt
39

examples/userdemo/annotate_simple_coord03.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
=======================
3+
Annotate Simple Coord03
4+
=======================
5+
6+
"""
17

28
import matplotlib.pyplot as plt
39

examples/userdemo/annotate_text_arrow.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
===================
3+
Annotate Text Arrow
4+
===================
5+
6+
"""
17

28
import numpy.random
39
import matplotlib.pyplot as plt

examples/userdemo/axis_direction_demo_step01.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
==========================
3+
Axis Direction Demo Step01
4+
==========================
5+
6+
"""
17
import matplotlib.pyplot as plt
28
import mpl_toolkits.axisartist as axisartist
39

examples/userdemo/axis_direction_demo_step02.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
==========================
3+
Axis Direction Demo Step02
4+
==========================
5+
6+
"""
17
import matplotlib.pyplot as plt
28
import mpl_toolkits.axisartist as axisartist
39

examples/userdemo/axis_direction_demo_step03.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
==========================
3+
Axis Direction Demo Step03
4+
==========================
5+
6+
"""
17
import matplotlib.pyplot as plt
28
import mpl_toolkits.axisartist as axisartist
39

examples/userdemo/axis_direction_demo_step04.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
==========================
3+
Axis Direction Demo Step04
4+
==========================
5+
6+
"""
17
import matplotlib.pyplot as plt
28
import mpl_toolkits.axisartist as axisartist
39

examples/userdemo/colormap_normalizations.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
"""
2+
=======================
3+
Colormap Normalizations
4+
=======================
5+
26
Demonstration of using norm to map colormaps onto data in non-linear ways.
37
"""
48

examples/userdemo/colormap_normalizations_bounds.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
"""
2+
==============================
3+
Colormap Normalizations Bounds
4+
==============================
5+
26
Demonstration of using norm to map colormaps onto data in non-linear ways.
37
"""
48

examples/userdemo/colormap_normalizations_custom.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
"""
2+
==============================
3+
Colormap Normalizations Custom
4+
==============================
5+
26
Demonstration of using norm to map colormaps onto data in non-linear ways.
37
"""
48

examples/userdemo/colormap_normalizations_lognorm.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
"""
2+
===============================
3+
Colormap Normalizations Lognorm
4+
===============================
5+
26
Demonstration of using norm to map colormaps onto data in non-linear ways.
37
"""
48

examples/userdemo/colormap_normalizations_power.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
"""
2+
=============================
3+
Colormap Normalizations Power
4+
=============================
5+
26
Demonstration of using norm to map colormaps onto data in non-linear ways.
37
"""
48

examples/userdemo/colormap_normalizations_symlognorm.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
"""
2+
==================================
3+
Colormap Normalizations Symlognorm
4+
==================================
5+
26
Demonstration of using norm to map colormaps onto data in non-linear ways.
37
"""
48

examples/userdemo/connect_simple01.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
================
3+
Connect Simple01
4+
================
5+
6+
"""
17
from matplotlib.patches import ConnectionPatch
28
import matplotlib.pyplot as plt
39

examples/userdemo/connectionstyle_demo.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
====================
3+
Connectionstyle Demo
4+
====================
5+
6+
"""
17

28
import matplotlib.pyplot as plt
39
import matplotlib.patches as mpatches

examples/userdemo/custom_boxstyle01.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
=================
3+
Custom Boxstyle01
4+
=================
5+
6+
"""
17
from matplotlib.path import Path
28

39
def custom_box_style(x0, y0, width, height, mutation_size, mutation_aspect=1):

examples/userdemo/custom_boxstyle02.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
=================
3+
Custom Boxstyle02
4+
=================
5+
6+
"""
17
from matplotlib.path import Path
28
from matplotlib.patches import BoxStyle
39
import matplotlib.pyplot as plt

examples/userdemo/demo_axis_direction.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
===================
3+
Demo Axis Direction
4+
===================
5+
6+
"""
17

28

39
import numpy as np

examples/userdemo/demo_gridspec01.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
===============
3+
Demo Gridspec01
4+
===============
5+
6+
"""
17
import matplotlib.pyplot as plt
28

39
def make_ticklabels_invisible(fig):

examples/userdemo/demo_gridspec02.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
===============
3+
Demo Gridspec02
4+
===============
5+
6+
"""
17
import matplotlib.pyplot as plt
28
from matplotlib.gridspec import GridSpec
39

examples/userdemo/demo_gridspec03.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
===============
3+
Demo Gridspec03
4+
===============
5+
6+
"""
17
import matplotlib.pyplot as plt
28
from matplotlib.gridspec import GridSpec
39

examples/userdemo/demo_gridspec04.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
===============
3+
Demo Gridspec04
4+
===============
5+
6+
"""
17
import matplotlib.pyplot as plt
28
import matplotlib.gridspec as gridspec
39

examples/userdemo/demo_gridspec05.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
===============
3+
Demo Gridspec05
4+
===============
5+
6+
"""
17
import matplotlib.pyplot as plt
28
import matplotlib.gridspec as gridspec
39

examples/userdemo/demo_gridspec06.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
===============
3+
Demo Gridspec06
4+
===============
5+
6+
"""
17
import matplotlib.pyplot as plt
28
import matplotlib.gridspec as gridspec
39
import numpy as np

examples/userdemo/demo_parasite_axes.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
==================
3+
Demo Parasite Axes
4+
==================
5+
6+
"""
17
from mpl_toolkits.axisartist.parasite_axes import HostAxes, ParasiteAxes
28
import matplotlib.pyplot as plt
39

examples/userdemo/demo_ticklabel_alignment.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
========================
3+
Demo Ticklabel Alignment
4+
========================
5+
6+
"""
17

28

39
import matplotlib.pyplot as plt

examples/userdemo/demo_ticklabel_direction.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
========================
3+
Demo Ticklabel Direction
4+
========================
5+
6+
"""
17

28
import matplotlib.pyplot as plt
39
import mpl_toolkits.axisartist.axislines as axislines

examples/userdemo/pgf_fonts.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
=========
3+
Pgf Fonts
4+
=========
5+
6+
"""
17
# -*- coding: utf-8 -*-
28

39
import matplotlib as mpl

examples/userdemo/pgf_preamble.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
============
3+
Pgf Preamble
4+
============
5+
6+
"""
17
# -*- coding: utf-8 -*-
28
from __future__ import (absolute_import, division, print_function,
39
unicode_literals)

examples/userdemo/pgf_texsystem.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
=============
3+
Pgf Texsystem
4+
=============
5+
6+
"""
17
# -*- coding: utf-8 -*-
28

39
import matplotlib as mpl

0 commit comments

Comments
 (0)