garrettj403 / SciencePlots

Matplotlib styles for scientific plotting
MIT License
6.96k stars 700 forks source link

Google Colab: Problem rendering text in all text items #83

Closed echedey-ls closed 1 year ago

echedey-ls commented 1 year ago

Moving here conversation from #40 It sure has nothing to do with SciencePlots, but until further info is gathered, we will discuss it here.

On 2022-12-12, this comment was made:

The graphic font seems strange (as shown in Figure 1). This may be a display problem. I ran successfully on the local environment, as shown in Figure 2. We can observe that their fonts seem different.

LanPeng-94 commented 1 year ago

It is worth noting that in the google colab, the scienceplots version is 2.0.1, while it is 1.0.8 in the local environment.

ttesileanu commented 1 year ago

This seems to work fine in the current version of Google Colab:

Screenshot 2023-05-03 at 10 53 02 AM

For reference, this is the exact notebook I ran:

Screenshot 2023-05-03 at 10 55 30 AM
echedey-ls commented 1 year ago

@ttesileanu thank you very much for spotting that!