Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Matplotlib 3.0 Cookbook
  • Table Of Contents Toc
  • Feedback & Rating feedback
Matplotlib 3.0 Cookbook

Matplotlib 3.0 Cookbook

By : Poladi, Borkar
3 (5)
close
close
Matplotlib 3.0 Cookbook

Matplotlib 3.0 Cookbook

3 (5)
By: Poladi, Borkar

Overview of this book

Matplotlib provides a large library of customizable plots, along with a comprehensive set of backends. Matplotlib 3.0 Cookbook is your hands-on guide to exploring the world of Matplotlib, and covers the most effective plotting packages for Python 3.7. With the help of this cookbook, you'll be able to tackle any problem you might come across while designing attractive, insightful data visualizations. With the help of over 150 recipes, you'll learn how to develop plots related to business intelligence, data science, and engineering disciplines with highly detailed visualizations. Once you've familiarized yourself with the fundamentals, you'll move on to developing professional dashboards with a wide variety of graphs and sophisticated grid layouts in 2D and 3D. You'll annotate and add rich text to the plots, enabling the creation of a business storyline. In addition to this, you'll learn how to save figures and animations in various formats for downstream deployment, followed by extending the functionality offered by various internal and third-party toolkits, such as axisartist, axes_grid, Cartopy, and Seaborn. By the end of this book, you'll be able to create high-quality customized plots and deploy them on the web and on supported GUI applications such as Tkinter, Qt 5, and wxPython by implementing real-world use cases and examples.
Table of Contents (17 chapters)
close
close

Using transforms

To refer to a specific point on the graph, we need its co-ordinates. There are four different co-ordinate systems used by Matplotlib with reference to data, axes, figures, and display. In this recipe, we will learn how to use these co-ordinate systems and transform from one co-ordinate system to another:

  • Data: The data co-ordinate system refers to input data points as co-ordinates, and these are controlled by the xlim and ylim parameters to restrict the range of data to be plotted on the graph. The method to transform from the data co-ordinate system to the display co-ordinate system is ax.transData.
  • Axes: The axes co-ordinate system refers to the axes object, with (0,0) being the bottom left corner of the axes and (1, 1) being the top right corner of the axes. The co-ordinate that refers to a point in the center of the axes is (0.5, 0.5). The method that transforms...
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Matplotlib 3.0 Cookbook
notes
register here to use this feature" > bookmark Notes and Bookmarks register here to use this feature" > search Search in title register here to use this feature" > playlist Add to playlist register here to use this feature" > download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon