GithubHelp home page GithubHelp logo

Comments (7)

adrn avatar adrn commented on May 30, 2024

Thanks!

Future Adrian: for context, "I'm punting the matplotlib style stuff until matplotlib 1.4 comes out because the style stuff has now been merged into mpl (matplotlib/matplotlib#2236)."

from astropy-tutorials.

keflavich avatar keflavich commented on May 30, 2024

@adrn can you share your .matplotlibrc in this repository (perhaps as 'default_style'?) so that the notebooks can be reproduced in their current form. When I run the notebooks, the fonts are a little different. There may be other changes, but I can't identify any right now...

from astropy-tutorials.

adrn avatar adrn commented on May 30, 2024

@keflavich Oh shoot, right, I have a custom font. Rather than deal with that headache, I think it'd be better for me to just use the MPL defaults for now. Is there any easy way to manage multiple matplotlibrc files? Like, start IPython with a particular rc file? hm..

cc @astrofrog @eteq

from astropy-tutorials.

keflavich avatar keflavich commented on May 30, 2024

Yes. matplotlib.rc_file('/path/to/file'). I think including a line of this sort at the top of the ipynb, along with the %matplotlib inline command (I think that's right...) would be good practice.

from astropy-tutorials.

adrn avatar adrn commented on May 30, 2024

Ok my plan is to make an ipython profile that makes that call (matplotlib.rc_file('/path/to/default/rcfile) in a startup script so I don't have to add it to all tutorials..

from astropy-tutorials.

keflavich avatar keflavich commented on May 30, 2024

OK, but it would also be a good solution to this issue to include the "nicer mplrc" file in this repo, and have it included in each ipynb

from astropy-tutorials.

adrn avatar adrn commented on May 30, 2024

As they say, "true dat"

from astropy-tutorials.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.