Searched refs:aspect_scale (Results 1 – 8 of 8) sorted by relevance
/dports/www/py-bokeh/bokeh-2.3.3/bokeh/util/ |
H A D | hex.py | 48 def axial_to_cartesian(q: Any, r: Any, size: float, orientation: str, aspect_scale: float = 1) -> T… 91 x = size * np.sqrt(3) * (q + r/2.0) / aspect_scale 95 y = -size * np.sqrt(3) * (r + q/2.0) * aspect_scale 99 def cartesian_to_axial(x: Any, y: Any, size: float, orientation: str, aspect_scale: float = 1) -> T… 143 x = x / size * (aspect_scale if orientation == "pointytop" else 1) 144 y = -y / size / (aspect_scale if orientation == "flattop" else 1) 151 def hexbin(x: Any, y: Any, size: float, orientation: str = "pointytop", aspect_scale: float = 1) ->… 200 q, r = cartesian_to_axial(x, y, size, orientation, aspect_scale=aspect_scale)
|
/dports/www/py-bokeh/bokeh-2.3.3/bokeh/plotting/ |
H A D | figure.py | 1128 …ion="pointytop", palette="Viridis256", line_color=None, fill_color=None, aspect_scale=1, **kwargs): argument 1227 bins = hexbin(x, y, size, orientation, aspect_scale=aspect_scale) 1234 … r = self.hex_tile(q="q", r="r", size=size, orientation=orientation, aspect_scale=aspect_scale,
|
/dports/x11/xlockmore/xlockmore-5.67/modes/ |
H A D | scooter.c | 129 float aspect_scale; member 758 proj = projection(sp, zelements[i].pos.z) * sp->aspect_scale; in drawdoors() 775 proj = projection(sp, sp->doors[i].coords[j].z) * sp->aspect_scale; in drawdoors() 837 proj = projection(sp, coords.z) * sp->aspect_scale; in drawstars() 930 sp->aspect_scale = (float)MI_HEIGHT(mi) / ASPECT_SCREENHEIGHT; in draw_scooter() 933 sp->aspect_scale = (float)MI_WIDTH(mi) / ASPECT_SCREENWIDTH; in draw_scooter()
|
/dports/x11/xscreensaver/xscreensaver-5.44/hacks/ |
H A D | scooter.c | 130 float aspect_scale; member 753 proj = projection(sp, zelements[i].pos.z) * sp->aspect_scale; in drawdoors() 770 proj = projection(sp, sp->doors[i].coords[j].z) * sp->aspect_scale; in drawdoors() 832 proj = projection(sp, coords.z) * sp->aspect_scale; in drawstars() 924 sp->aspect_scale = (float)MI_HEIGHT(mi) / ASPECT_SCREENHEIGHT; in draw_scooter() 927 sp->aspect_scale = (float)MI_WIDTH(mi) / ASPECT_SCREENWIDTH; in draw_scooter()
|
/dports/www/py-bokeh/bokeh-2.3.3/bokeh/server/static/js/types/models/glyphs/ |
H A D | hex_tile.d.ts | 47 aspect_scale: p.Property<number>;
|
/dports/www/py-bokeh/bokeh-2.3.3/bokeh/server/static/js/types/models/plots/ |
H A D | plot.d.ts | 67 aspect_scale: p.Property<number>;
|
/dports/www/py-bokeh/bokeh-2.3.3/bokeh/models/ |
H A D | plots.py | 689 aspect_scale = Float(default=1, help=""" variable in Plot
|
H A D | glyphs.py | 534 aspect_scale = Float(1.0, help=""" variable in HexTile
|