I’m working on a script to allow people to generate high-res 2d classes by passing command line parameters and using the example at https://tools.cryosparc.com/examples/hi-res-2d-classes.html as a base.
There are some inconsistencies that have led to some confusion for me.
- First, the page says “This job has 10 selected templates” and then “Use matplotlib to create a 5x2 grid to display these templates” but the example matplotlib code and the example figure is a 5x3 grid.
- Second, in the example code for matplotlib it is confusing why in some calculations it uses a value of
7
,8
in others, and2
in still others. It would be great if a comment could be added to say where the values are derived.- The value
8
seems to come fromcolumns + rows
whencolumns = 5
androws = 3
- The value
7
could becolumns + rows - 1
ifcolumns = 5
androws = 3
or it could becolumns + rows
if it was left there whencolumns = 5
androws = 2
. - The value
2
could berows - 1
whenrows = 3
or it could berows
if it was put there whenrows = 2
- The value
Would these be able to be addressed?