Skip to content

Commit

Permalink
fix stray pylint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
whoburg committed Jan 6, 2024
1 parent 3b3c36e commit 8bddce4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gpkit/interactive/plot_sweep.py
Expand Up @@ -70,7 +70,7 @@ def plot_1dsweepgrid(model, sweeps, posys, origsol=None, tol=0.01, **solveargs):

nposy, nsweep = len(posys), len(sweeps)
f, axes = plt.subplots(nposy, nsweep, sharex='col', sharey='row',
figsize=(4+2*S, 4+2*nposy))
figsize=(4+2*nsweep, 4+2*nposy))
plt.subplots_adjust(hspace=0.15)

for i, (swept, swept_over) in enumerate(sweeps.items()):
Expand Down
3 changes: 2 additions & 1 deletion gpkit/interactive/sankey.py
@@ -1,5 +1,6 @@
"implements Sankey"
# pylint: disable=import-error, consider-using-f-string
# pylint: disable=import-error,consider-using-f-string
# pylint: disable=duplicate-code,cyclic-import
import os
import re
from collections import defaultdict
Expand Down
3 changes: 2 additions & 1 deletion gpkit/interactive/widgets.py
@@ -1,4 +1,5 @@
"Interactive GPkit widgets for iPython notebook"
#pylint: disable=import-error
import ipywidgets as widgets
from traitlets import link
from .plot_sweep import plot_1dsweepgrid
Expand All @@ -7,7 +8,7 @@
from ..exceptions import InvalidGPConstraint


# pylint: disable=too-many-locals, import-error
# pylint: disable=too-many-locals
def modelinteract(model, fns_of_sol, ranges=None, **solvekwargs):
"""Easy model interaction in IPython / Jupyter
Expand Down

0 comments on commit 8bddce4

Please sign in to comment.