Skip to content

Commit

Permalink
Cleanup pylint errors in visualization modules
Browse files Browse the repository at this point in the history
This comimt clenas up the pyllint errors in the newly added
visualization._error and visualization._counts_visualization modules.
  • Loading branch information
mtreinish committed Sep 6, 2018
1 parent 1018dc9 commit 4a1ddb6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
1 change: 0 additions & 1 deletion qiskit/tools/visualization/_counts_visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
from ._error import VisualizationError



def plot_histogram(data, number_to_keep=False, legend=None, options=None):
"""Plot a histogram of data.
Expand Down
11 changes: 10 additions & 1 deletion qiskit/tools/visualization/_error.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# -*- coding: utf-8 -*-

# Copyright 2018, IBM.
#
# This source code is licensed under the Apache License, Version 2.0 found in
# the LICENSE.txt file in the root directory of this source tree.

"""QISKit visualization error classes."""

from qiskit import QISKitError


class VisualizationError(QISKitError):
"""For visualization specific errors."""
pass

0 comments on commit 4a1ddb6

Please sign in to comment.