Edit: This feature has now been added to Chaco 4.6, so if you're using this version or later, use the following similar code. If not see the original post below. Also see the documentation here and another example here.
Original: Chaco doesn't have this feature specifically, but you can add minor ticks by adding an extra PlotAxis. You need to modify a few properties of the axis:
tick_generator - This object defines the position of the ticks
tick_label_formatter - This function returns the tick label string for a given tick label value
tick_in and tick_out - These numbers define the size of the ticks (in and out of the axis)
Here's an example. It's a lot of code, but it's fairly straightforward. Although it is common for people to make plots using the Plot helper class, I like to create plots manually since it's much easier to customize. Anyways hope it helps.
Edit: This feature has now been added to Chaco 4.6, so if you're using this version or later, use the following similar code. If not see the original post below. Also see the documentation here and another example here.
Original: Chaco doesn't have this feature specifically, but you can add minor ticks by adding an extra
PlotAxis. You need to modify a few properties of the axis:tick_generator- This object defines the position of the tickstick_label_formatter- This function returns the tick label string for a given tick label valuetick_inandtick_out- These numbers define the size of the ticks (in and out of the axis)Here's an example. It's a lot of code, but it's fairly straightforward. Although it is common for people to make plots using the
Plothelper class, I like to create plots manually since it's much easier to customize. Anyways hope it helps.