

{"id":115699,"date":"2023-12-16T18:00:23","date_gmt":"2023-12-16T12:30:23","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=115699"},"modified":"2023-12-16T18:47:17","modified_gmt":"2023-12-16T13:17:17","slug":"subplots-in-matplotlib","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/subplots-in-matplotlib\/","title":{"rendered":"Subplots in Matplotlib"},"content":{"rendered":"<h2>Learning Matplotlib&#8217;s Subplot Functionality<\/h2>\n<h3>An Overview<\/h3>\n<p>Subplots are a way to break up a larger plot into many more manageable ones. They make it simpler to analyse and understand complicated data by emphasising connections between charts. Subplots allow us to display several perspectives on our data side by side, which is useful for making comparisons and identifying patterns.<\/p>\n<h3>Advantages of Subplots in Matplotlib<\/h3>\n<p>Using subplots in data visualisation has several benefits. In the first place, they provide a visual representation of the relationships and interactions between various plots. The interdependencies and correlations in the data may be better communicated by clustering relevant panels together. Second, compact and well-organized, the plots are easier to manage thanks to subplots. This is very helpful when comparing many datasets or displaying a large number of charts at once.<\/p>\n<h3>Building Subplots<\/h3>\n<h4>Utilising plt.subplots()<\/h4>\n<p>Matplotlib&#8217;s plt.subplots() method allows us to easily generate subplots. A figure and its associated subplots are generated by this function. A figure object representing the full figure is returned by the plt.subplots() method, together with an axes object or an array of axis objects representing the different subplots.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">import matplotlib.pyplot as plott\r\n\r\n\r\nfiguree, axess = plott.subplots(nrows=2, ncols=2)\r\n<\/pre>\n<p>Here, we make a subplot grid with a size of 2 by 2. The subplot grid&#8217;s row and column counts may be set using the nrows and ncols parameters. The figure object is stored in the fig variable, whereas axes are an array of axis objects that stand in for the various subplots.<\/p>\n<h4>Rearranging Secondary Storylines<\/h4>\n<p>Matplotlib has a number of options for modifying the positioning and spacing of subplots. To modify the distance between subplots, we may utilise the plt.subplots_adjust() method.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">plott.subplots_adjust(left=0.2, right=0.8, top=0.8, bottom=0.2, wspace=0.4, hspace=0.2)\r\n<\/pre>\n<p>The code snippet&#8217;s wspace and hspace arguments set the horizontal and vertical distances between subplots, while the left, right, top, and bottom parameters set the margin sizes surrounding the subplots.<\/p>\n<h3>Matplotlib Subplot Settings<\/h3>\n<h4>Subplots in a single column or row<\/h4>\n<p>In certain cases, it might be helpful to line up related stories vertically. Matplotlib facilitates the creation of such setups with relative ease.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">figuree, axess = plott.subplots(nrows=1, ncols=2)\r\n<\/pre>\n<p>In this case, we&#8217;ll make three individual plots in a row. Matplotlib is instructed to produce a single row with three subplots with the parameters nrows=1 and ncols=2.<\/p>\n<h4>Subplot Grid<\/h4>\n<p>Subplots on a grid may be more convenient in other contexts. With Matplotlib, we can create a subplot grid with as many rows and columns as we want.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">figuree, axess = plott.subplots(nrows=4, ncols=3)\r\n<\/pre>\n<p>Here, we make a 4&#215;3 grid of subplots. Modify the grid&#8217;s layout by changing the values of nrows and ncols.<\/p>\n<h4>Subplot Arrangements That Don&#8217;t Add Up<\/h4>\n<p>In more intricate situations, it may be necessary to include many plots inside a single graph, each with its own scale and proportions.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">figuree, axess = plott.subplots(nrows=3, ncols=2, gridspec_kw={'width_ratios': [1, 2], 'height_ratios': [2, 1]})\r\n<\/pre>\n<p>The relative sizes of the subplots are defined in this code snippet by defining the width_ratios and height_ratios inside the gridspec_kw argument. Subplots of varying widths and heights will be produced as a consequence.<\/p>\n<p>We may create unique layouts that meet the requirements of our data visualisation by experimenting with various subplot arrangements.<\/p>\n<h3>Graphing on Subplots in Matplotlib<\/h3>\n<h4>Subplot Data Plotting<\/h4>\n<p>Next, we&#8217;ll plot our data on several subplots that we&#8217;ve prepared in Matplotlib. As a result, we may compare and contrast the visual representations of various datasets or variables.<\/p>\n<p><strong>Making separate plots for each subplot<\/strong><\/p>\n<p>The plt.subplots() method returns axis objects that may be used to plot data on separate subplots. To construct the necessary plots, we simply call plotting functions on the axis objects that represent each subplot.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">import matplotlib.pyplot as plott\r\n\r\n\r\na1 = [1, 2, 3, 4]\r\nb1 = [7, 3, 6, 4]\r\na2 = [1, 8, 3, 4]\r\nb2 = [2, 5, 4, 3]\r\na3 = [1, 2, 3, 4]\r\nb3 = [7, 6, 5, 3]\r\na4 = [1, 3, 2, 4]\r\nb4 = [6, 2, 9, 5]\r\n\r\n\r\nfiguree, axess = plt.subplots(nrows=2, ncols=2)\r\n\r\n\r\ndataset = [(a1, b1, 'purple', 's'), (a2, b2, 'red', 'o'), (a3, b3, 'orange', None), (a4, b4, 'blue', '.')]\r\n\r\n\r\nfor axess, (x, y, color, marker) in zip(axess.flatten(), dataset):\r\n   axess.plot(x, y, color=color, marker=marker)\r\n\r\n\r\nplt.show()\r\n<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Subplot-Data-Plotting.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-125409 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Subplot-Data-Plotting.webp\" alt=\"Subplot Data Plotting\" width=\"534\" height=\"413\" \/><\/a><\/p>\n<p>In this case, we&#8217;ll create a grid of subplots (2&#215;2) and plot individual data sets on each of them. To alter the visual look of the plots, we may provide the preferred plot characteristics such as colours, markers, and linestyles.<\/p>\n<p><strong>Modifying Land Characteristics<\/strong><\/p>\n<p>Subplots allow for even more detailed customization through a wide range of plot variables. To draw attention to certain details in our data, we may, for instance, alter the background colour, markers, linestyles, and linewidths. Plots may have their readability and visual impact improved by using axis limitations, gridlines, and other formatting choices.<\/p>\n<h4>Limit and Axis Sharing<\/h4>\n<p>Sharing the x or y axis across numerous subplots is a common practise when dealing with subplots. The plotted data may thus be more easily compared and aligned. Matplotlib has tools that make it easy to share axes and manage their bounds and scales.<\/p>\n<p><strong>Subplots that share an axis (either the x or y axis)<\/strong><\/p>\n<p>When creating subplots, the sharex and sharey parameters may be used to allow them to share the same axes.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">figuree, axess = plott.subplots(nrows=3, ncols=3, sharey=True)\r\n<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Limit-and-Axis-Sharing.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-125410 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Limit-and-Axis-Sharing.webp\" alt=\"Limit and Axis Sharing\" width=\"558\" height=\"418\" \/><\/a><\/p>\n<p>In this case, all of the subplots will share the same x-axis and coordinate system if the sharey=True option is used.<\/p>\n<p><strong>Modifying the range and size of axes that are parallel<\/strong><\/p>\n<p>We may adjust the range and scale of common axes to zero on a subset of the data or highlight a particular feature. Consistency and freedom from misunderstanding amongst plotlines may be achieved by the use of clearly stated bounds and scales.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">import matplotlib.pyplot as plott\r\n\r\n\r\nfiguree, axess = plott.subplots(nrows=2, ncols=2)\r\n\r\n\r\naxess[0, 0].set_xlim(0, 10)\r\naxess[1, 0].set_ylim(0, 100)\r\n\r\n\r\nplott.show()\r\n<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Modifying-the-range-and-size.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-125411 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Modifying-the-range-and-size.webp\" alt=\"Modifying the range and size\" width=\"563\" height=\"418\" \/><\/a><\/p>\n<p>In this code snippet, we restrict the first and second subplots to separate x and y ranges.<\/p>\n<h4>Identifying elements with Titles<\/h4>\n<p>Titles and labels are essential for providing necessary context and improving the readability of our subplots. Labels explain the axes and data being plotted, whereas titles reflect the subplot&#8217;s general content or purpose.<\/p>\n<p><strong>Identifying and titling each subplot<\/strong><\/p>\n<p>By using the proper methods on the axis objects, we can give each subplot its own title and label.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">import matplotlib.pyplot as plott\r\n\r\n\r\nfiguree, axess = plott.subplots(nrows=2, ncols=2)\r\n\r\n\r\naxess[0, 0].set_title(\"First Subplot DataFlair\")\r\naxess[0, 1].set_xlabel(\"X Label\")\r\naxess[0, 1].set_ylabel(\"Y Label\")\r\n\r\n\r\nplott.show()\r\n\r\n<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Identifying-elements-with-Titles.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-125412 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Identifying-elements-with-Titles.webp\" alt=\"Identifying elements with Titles\" width=\"558\" height=\"435\" \/><\/a><\/p>\n<p>Here, we&#8217;ll give the first subplot a title and identify its axes while also doing the same for the second.<\/p>\n<p><strong>Subtitle and label text properties can be modified<\/strong><\/p>\n<p>Subplot titles and labels may be styled whatever we want by adjusting their text characteristics such font size, colour, style, and alignment.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">import matplotlib.pyplot as plt\r\n\r\n\r\nfig, axes = plt.subplots(nrows=2, ncols=2)\r\n\r\n\r\naxes[0, 0].set_title(\"First Subplot DataFlair\", fontsize=10, color='red', fontstyle='italic')\r\naxes[0, 1].set_xlabel(\"X Label\", fontsize=10, color='orange', ha='right')\r\naxes[0, 1].set_ylabel(\"Y Label\", fontsize=10, color='purple', va='top')\r\n\r\n\r\nplt.show()\r\n<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Subtitle-and-label-text-properties.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-125413 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Subtitle-and-label-text-properties.webp\" alt=\"Subtitle and label text properties\" width=\"558\" height=\"432\" \/><\/a><\/p>\n<p>In this code snippet, we change the size, colour, and style of the font used for the title and labels of the first and second subplots, respectively.<\/p>\n<h3>Subplot Space and Padding in Matplotlib<\/h3>\n<h4>Managing Subplot Spacing<\/h4>\n<p>It is possible to modify the distance between subplots to get a more visually appealing layout. The horizontal and vertical spacing may both be adjusted using Matplotlib&#8217;s available settings.<\/p>\n<p><strong>1. Regulating the amount of time spent on secondary stories:<\/strong> The subplots_adjust() method enables us to set the vertical and horizontal distances between subplots.<\/p>\n<p><strong>2. Adjusting padding around subplots:<\/strong> Padding around subplots may be adjusted as well so that every inch of the figure is put to good use. To modify the margins on all sides, use the subplots_adjust() function&#8217;s optional top, bottom, left, and right arguments.<\/p>\n<h4>Subplot Axis Alignment<\/h4>\n<p>Aligning plot components across subplots is essential for creating a unified visual presentation of several storylines.<\/p>\n<p><strong>Alignment of subplot axes for uniformity:<\/strong> Subplot axes may be aligned with the help of the align_labels() method, included in the matplotlib.pyplot package. By using this feature, you may easily align the subplot axis labels to the left, right, top, bottom, left, or right.<\/p>\n<h3>Conclusion<\/h3>\n<p>Matplotlib&#8217;s subplots are a useful tool for organising several plots inside a single figure, which greatly simplifies the process of comparing and analysing data from many sources. Learn how to construct useful and aesthetically pleasing visualisations by plotting data on subplots, sharing axes, including titles and labels, and adjusting the spacing and alignment.<\/p>\n<p>Matplotlib gives us a wide variety of choices and tools for experimenting with and personalising subplots. We encourage further exploration and innovation in data visualisation as we learn more about the potential of subplots to reveal hidden insights and improve the clarity of data transmission.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learning Matplotlib&#8217;s Subplot Functionality An Overview Subplots are a way to break up a larger plot into many more manageable ones. They make it simpler to analyse and understand complicated data by emphasising connections&#46;&#46;&#46;<\/p>\n","protected":false},"author":86671,"featured_media":115701,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27777],"tags":[8601,29087,29089,29088,29086],"class_list":["post-115699","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-matplotlib-tutorials","tag-matplotlib","tag-matplotlib-subplots","tag-matplotlib-subplots-functionality","tag-matplotlib-tutorials","tag-subplots-in-matplotlib"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Subplots in Matplotlib - DataFlair<\/title>\n<meta name=\"description\" content=\"Matplotlib&#039;s subplots are a useful tool for organising several plots inside a single figure, which greatly simplifies the process of comparing and analysing data from many sources.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/subplots-in-matplotlib\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Subplots in Matplotlib - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Matplotlib&#039;s subplots are a useful tool for organising several plots inside a single figure, which greatly simplifies the process of comparing and analysing data from many sources.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/subplots-in-matplotlib\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-16T12:30:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-16T13:17:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/06\/subplot-in-matplotlib.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1141\" \/>\n\t<meta property=\"og:image:height\" content=\"593\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"TechVidvan Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TechVidvan Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Subplots in Matplotlib - DataFlair","description":"Matplotlib's subplots are a useful tool for organising several plots inside a single figure, which greatly simplifies the process of comparing and analysing data from many sources.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/subplots-in-matplotlib\/","og_locale":"en_US","og_type":"article","og_title":"Subplots in Matplotlib - DataFlair","og_description":"Matplotlib's subplots are a useful tool for organising several plots inside a single figure, which greatly simplifies the process of comparing and analysing data from many sources.","og_url":"https:\/\/data-flair.training\/blogs\/subplots-in-matplotlib\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2023-12-16T12:30:23+00:00","article_modified_time":"2023-12-16T13:17:17+00:00","og_image":[{"width":1141,"height":593,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/06\/subplot-in-matplotlib.webp","type":"image\/webp"}],"author":"TechVidvan Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"TechVidvan Team","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/subplots-in-matplotlib\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/subplots-in-matplotlib\/"},"author":{"name":"TechVidvan Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/0e594f928e31fc96628ac40f6ae74f49"},"headline":"Subplots in Matplotlib","datePublished":"2023-12-16T12:30:23+00:00","dateModified":"2023-12-16T13:17:17+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/subplots-in-matplotlib\/"},"wordCount":1265,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/subplots-in-matplotlib\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/06\/subplot-in-matplotlib.webp","keywords":["Matplotlib","matplotlib subplots","matplotlib subplots functionality","matplotlib tutorials","subplots in matplotlib"],"articleSection":["Matplotlib Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/subplots-in-matplotlib\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/subplots-in-matplotlib\/","url":"https:\/\/data-flair.training\/blogs\/subplots-in-matplotlib\/","name":"Subplots in Matplotlib - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/subplots-in-matplotlib\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/subplots-in-matplotlib\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/06\/subplot-in-matplotlib.webp","datePublished":"2023-12-16T12:30:23+00:00","dateModified":"2023-12-16T13:17:17+00:00","description":"Matplotlib's subplots are a useful tool for organising several plots inside a single figure, which greatly simplifies the process of comparing and analysing data from many sources.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/subplots-in-matplotlib\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/subplots-in-matplotlib\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/subplots-in-matplotlib\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/06\/subplot-in-matplotlib.webp","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/06\/subplot-in-matplotlib.webp","width":1141,"height":593,"caption":"subplot in matplotlib"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/subplots-in-matplotlib\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Matplotlib Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/matplotlib-tutorials\/"},{"@type":"ListItem","position":3,"name":"Subplots in Matplotlib"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/0e594f928e31fc96628ac40f6ae74f49","name":"TechVidvan Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/c89190da3d4010c71ba476b618ab10fdc2335c82cdfa0ad5002d98d0f2473444?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c89190da3d4010c71ba476b618ab10fdc2335c82cdfa0ad5002d98d0f2473444?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c89190da3d4010c71ba476b618ab10fdc2335c82cdfa0ad5002d98d0f2473444?s=96&d=mm&r=g","caption":"TechVidvan Team"},"description":"TechVidvan Team provides high-quality content &amp; courses on AI, ML, Data Science, Data Engineering, Data Analytics, programming, Python, DSA, Android, Flutter, full stack web dev, MERN, and many latest technology.","url":"https:\/\/data-flair.training\/blogs\/author\/test001\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/115699","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/86671"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=115699"}],"version-history":[{"count":8,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/115699\/revisions"}],"predecessor-version":[{"id":132272,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/115699\/revisions\/132272"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/115701"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=115699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=115699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=115699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}