Occasionally, problems with Matplotlib can be solved with a clean If you are still having trouble, see Getting help. Instructions within and the concept of the Matplotlib backend. Process, governed by the matplotlibrc configuration file which contains Sure you understand Matplotlib's configuration This will give you additional information about which backends Matplotlib is Python - c "from pylab import * set_loglevel('debug') plot() show()" Open up a UNIX shell or a DOS command prompt and run, for Rather than working interactively from a python shell or an integratedĭevelopment environment such as IDLE which add additionalĬomplexities. If not, the best way to test your install is by running a script, The first thing to try is a clean install and see if Matplotlib compiled fine, but nothing shows up when I use it # Matplotlib compiled fine, but nothing shows up when I use it See Setting up Matplotlib for development. That any DLLs that you copy into the source tree will be packaged too. If you are building your own Matplotlib wheels (or sdists) on Windows, note Thisįile will be particularly useful to those packaging Matplotlib. Optional libraries that Matplotlib ships with are installed, and so on. For example, which default backend to use, whether some of the We provide a mplsetup.cfg file which you can use to customize the build If you would like to build from a tarball, grab the latest tar.gz release May result in your build producing unexpected behavior and/or causing Proceed with caution because these instructions The following instructions in this section are for very custom The easiest way to get the latest development version to start contributing Required to build matplotlib from source. They should be selected by default under the "Optional" subheading, but are Windows SDK compatible with your version of Windows are selected and installed. Selected, and that the latest MSVC, "C++ CMake tools for Windows," and a Will need xcode on Windows, you will need Visual Studio 2015 or later.įor those using Visual Studio, make sure "Desktop development with C++" is Should be installed using your distribution's package manager on macOS, you Typically, on Linux, you will need gcc, which Yourself, it is not difficult to build Matplotlib from source.įirst you need to install the Dependencies.Ī C compiler is required. Running the latest source code, or just like to build everything If you are interested in contributing to Matplotlib development, The package with conda first and, if that doesn’t work, installing with pip.Python -m pip install \ -upgrade \ -pre \ -index-url \ -extra-index-url \ matplotlib If you are told that you are missing a package at any point in time, we recommend trying to install Press y and enter whenever you see Proceed /n from your terminal.Ĭlose the command window after the installation finishes, log out of Windows, and then log in. Jupyter labextension install jupyterlab-plotly -no-build Jupyter labextension install plotlywidget -no-build Pip install pyLDAvis gensim folium xgboost descartes pyarrow graphviz -upgrade Please install the packages you will need later by following the instructions below for your Generally, packages can be installed by using conda install or We will work through an example below to install some new package functionality needed for some That give you additional functionality… We will discuss these more in depth later!) and help you These will help you ensure that you have the right packages (think of these as “add-ons” to Python In addition to Jupyter, the Anaconda Python distribution comes with two package management tools conda and pip. The default one is your home directory.ĭownload the repository with notebooks in your working directory. Set the path to where you would like to download the lectures. You can download and install it from here). ( git is not installed on Windows by default. Make sure that git is installed on your computer. Windows should be C:/Users/YOUR_USERNAME/Documents/GitHub. You should choose the path (folder) where you would like to download the repository. Github Desktop (Mac/Windows only), recommended for most users.Ĭlick the “Open with Github Desktop” option in the Code button menu. You can download the lectures through either Github Desktop or Terminal: To download the QuantEcon Data Science lectures, go to its Github repo, click on the Downloading the QuantEcon Data Science Lectures # Windows users will need to check the upper box when the page shown below appears (disregard the “not recommended” warning from Anaconda). On Mac OS and Linux, this should happen by default.įor Windows users, we recommend installing for “just me” instead of “all users”. Make sure that during the installation Anaconda Anaconda Python distribution for your operating system (Windows/Mac OS/Linux).īe sure to download the Python 3.X (where X is some number greater than or equal to 8) version, not
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |