MCPcopy Create free account
hub / github.com/cpmech/plotpy / set_rotation_ticks_y

Method set_rotation_ticks_y

src/plot.rs:415–423  ·  view source on GitHub ↗

Sets the rotation of ticks along the y-axis

(&mut self, rotation: f64)

Source from the content-addressed store, hash-verified

413
414 /// Sets the rotation of ticks along the y-axis
415 pub fn set_rotation_ticks_y(&mut self, rotation: f64) -> &mut Self {
416 write!(
417 &mut self.buffer,
418 "plt.gca().tick_params(axis='y',rotation={})\n",
419 rotation
420 )
421 .unwrap();
422 self
423 }
424
425 /// Aligns the labels when using subplots
426 pub fn set_align_labels(&mut self) -> &mut Self {

Calls

no outgoing calls

Tested by 2

gridspec_functions_workFunction · 0.64