Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 20, 2024
1 parent 874fc71 commit 7f7ebca
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions yt/visualization/tests/test_profile_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import shutil
import tempfile
import unittest
import numpy as np

import numpy as np
import pytest

import yt
Expand Down Expand Up @@ -66,13 +66,12 @@ def test_phaseplot_set_ylim(self):
p.render()
return p.plots["gas", "mass"].figure


class TestPhasePlotParticleAPI:
@classmethod
def setup_class(cls):
bbox = np.array([[-1.0, 3.0], [1.0, 5.2], [-1.0, 3.0]])
cls.ds = fake_random_sph_ds(
50, bbox
)
cls.ds = fake_random_sph_ds(50, bbox)

def get_plot(self):
return PhasePlot(
Expand Down Expand Up @@ -123,7 +122,6 @@ def test_phaseplot_set_ylim(self):
return p.plots["gas", "mass"].figure



def test_set_units():
fields = ("density", "temperature")
units = (
Expand Down

0 comments on commit 7f7ebca

Please sign in to comment.