Skip to content

Commit

Permalink
Lint and blacken
Browse files Browse the repository at this point in the history
  • Loading branch information
rgieseke committed Feb 27, 2024
1 parent 007baf8 commit 25b4b87
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions pyhector/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,5 +295,3 @@ def run(scenario, config=None, base_config=None, outputs=None, return_config=Fal
if return_config:
return results, parameters
return results


5 changes: 3 additions & 2 deletions scripts/plot_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@

import matplotlib.pyplot as plt

import pyhector
from pyhector import ssp119, ssp126, ssp245, ssp370, ssp434, ssp460, ssp534_over, ssp585

plt.style.use("ggplot")
plt.rcParams["figure.figsize"] = 10, 5
plt.rcParams["font.family"] = "serif"
plt.rcParams["font.size"] = 12

import pyhector
from pyhector import ssp119, ssp126, ssp245, ssp370, ssp434, ssp460, ssp534_over, ssp585

path = os.path.join(os.path.dirname(__file__), "../docs/example-plot.png")

Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@
<https://github.com/openclimatedata/pyhector>`_.
"""
import glob
import os
import sys

from setuptools import Extension, setup
from setuptools import setup
from setuptools.command.test import test as TestCommand

from pybind11.setup_helpers import Pybind11Extension
Expand Down

0 comments on commit 25b4b87

Please sign in to comment.