mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-14 19:36:23 +08:00
Address black + isort fbsource linter warnings
Summary: Address black + isort fbsource linter warnings from D20558374 (previous diff) Reviewed By: nikhilaravi Differential Revision: D20558373 fbshipit-source-id: d3607de4a01fb24c0d5269634563a7914bddf1c8
This commit is contained in:
committed by
Facebook GitHub Bot
parent
eb512ffde3
commit
d57daa6f85
@@ -1,8 +1,4 @@
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
|
||||
from .camera_visualization import (
|
||||
get_camera_wireframe,
|
||||
plot_camera_scene,
|
||||
plot_cameras,
|
||||
)
|
||||
from .camera_visualization import get_camera_wireframe, plot_camera_scene, plot_cameras
|
||||
from .plot_image_grid import image_grid
|
||||
|
||||
@@ -34,13 +34,9 @@ def image_grid(
|
||||
cols = 1
|
||||
|
||||
gridspec_kw = {"wspace": 0.0, "hspace": 0.0} if fill else {}
|
||||
fig, axarr = plt.subplots(
|
||||
rows, cols, gridspec_kw=gridspec_kw, figsize=(15, 9)
|
||||
)
|
||||
fig, axarr = plt.subplots(rows, cols, gridspec_kw=gridspec_kw, figsize=(15, 9))
|
||||
bleed = 0
|
||||
fig.subplots_adjust(
|
||||
left=bleed, bottom=bleed, right=(1 - bleed), top=(1 - bleed)
|
||||
)
|
||||
fig.subplots_adjust(left=bleed, bottom=bleed, right=(1 - bleed), top=(1 - bleed))
|
||||
|
||||
for ax, im in zip(axarr.ravel(), images):
|
||||
if rgb:
|
||||
|
||||
Reference in New Issue
Block a user