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

Skip to content

Commit c3fa542

Browse files
author
Vlas Sokolov
committed
fix flake8 warnings, mirror naming/docstring style of other examples
1 parent f5ef8bd commit c3fa542

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
'''
2-
An example of using errorbars in mplot3d
3-
'''
1+
"""
2+
============
3+
3D errorbars
4+
============
5+
6+
An example of using errorbars with upper and lower limits in mplot3d.
7+
"""
48

5-
from mpl_toolkits.mplot3d import Axes3D
69
import matplotlib.pyplot as plt
710
import numpy as np
811

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2944,7 +2944,7 @@ def errorbar(self, x, y, z, zerr=None, yerr=None, xerr=None, fmt='',
29442944
everymask[offset::errorevery] = True
29452945

29462946
def _mask_lists(xs, ys, zs, mask=None):
2947-
""" Applies a mask to three lists. """
2947+
"""Applies a mask to three lists."""
29482948
xs = [l for l, m in zip(xs, mask) if m]
29492949
ys = [l for l, m in zip(ys, mask) if m]
29502950
zs = [l for l, m in zip(zs, mask) if m]

0 commit comments

Comments
 (0)