This looks likely, thanks! The next step for you (and all of us) would be as follows:
1) Neither of these codes are so long that you couldn't put them as formatted text in comments on the relevant ticket. Use {{{ code }}} to format them. 2) If you could (on the ticket) attach or link to images of the before/after, that would be very helpful. Particularly the `use_mathtext` option being different would need discussion and comparison. Thanks! I hope others look at this issue too, as I may not have margin for a full review at this time. On Friday, July 29, 2022 at 4:31:02 PM UTC-4 niran...@gmail.com wrote: > Wait, i just solved it! > It is not the issue with matplotlib but with the construction of > SelectiveFormatter. > This formatter construction is incomplete. I have created two new > customized ScalarFormatters (default formatters used by matplotlib), the > second one would be a good new addition to sage along with the first one. > We can have both. I have worked out same situation but in native python > with matplotlib. Only thing is to adapt it to sage. It won't be hard to do > that, just need slight adjustments. Please look into the attached two > example python files. > > Inspired from: > https://stackoverflow.com/questions/11244514/modify-tick-label-text > <-- Discusses similar issue (see second answer from last) > > https://stackoverflow.com/questions/63475934/skipping-certain-values-in-python-with-matplotlib > > https://github.com/matplotlib/matplotlib/blob/4f5cacfde9024076d9ab0cb6ad1c9a7cf352d5f9/lib/matplotlib/ticker.py > > > On Saturday, July 30, 2022 at 12:05:24 AM UTC+5:30 kcrisman wrote: > >> Time being solution would be to drop use of SelectiveFormatter to get >>> rid of 0 tick label if the axes cross. Let the origin be visible for some >>> time. >>> >> >> My guess is that this would not be seen as a great fix, but let's put >> images and other followup on the ticket. >> > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/4dae16a5-3024-46de-bf86-1cd5a233858fn%40googlegroups.com.