Skip to content

Commit

Permalink
Image size fix (#882)
Browse files Browse the repository at this point in the history
* examples/demo/zoomed_plot/zoom_plot.py

* fix capitol import path

* remove changed zoom plot

* fix formattingf

* fix traits image example

* remove unrelated commites

* change the order of x and y

---------

Co-authored-by: Chengyu Liu <cyliu@aus552cyliu.local>
  • Loading branch information
homosapien-lcy and Chengyu Liu authored Apr 6, 2023
1 parent e69ba4b commit f32e01c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/tutorials/scipy2008/traits_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def __init__(self):
self.renderer = plot.img_plot(
"imagedata",
name="plot1",
xbounds=xgrid,
ybounds=ygrid,
xbounds=(0, 8),
ybounds=(0, 6),
colormap=viridis,
)[0]
self.plot = plot
Expand Down

0 comments on commit f32e01c

Please sign in to comment.